Home Plugin documentation Hooks and functions Filters pip/custom_font/url
pip/custom_font/url
Heads up!
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don’t provide support for code customizations or 3rd party development.
This filter allows you to change URL for custom fonts files
add_filter( 'pip/custom_font/url', function ( $attachment_new_upload_url, $attachment_new_upload_path ) {
$attachment_new_upload_url = site_url() . $attachment_new_upload_path;
return $attachment_new_upload_url;
} );
Our home port
15 Rue Cavenne, 69007 Lyon
And from everywhere in the world thanks to Hangout and Skype !
Useful links