-
Notifications
You must be signed in to change notification settings - Fork 82
activitypub_get_upload_baseurl
github-actions[bot] edited this page Jul 23, 2025
·
16 revisions
Filters the upload base URL.
add_filter(
'activitypub_get_upload_baseurl',
function ( $string_upload_dir_the_upload_base_url_default_wp_get_upload_dir_baseurl ) {
// Your code here
return $string_upload_dir_the_upload_base_url_default_wp_get_upload_dir_baseurl;
}
);
-
$string_upload_dir_the_upload_base_url_default_wp_get_upload_dir_baseurl
Other variable names:$baseurl
apply_filters( 'activitypub_get_upload_baseurl', $upload_dir['baseurl'] )
Follow @[email protected] for updates and news.