-
-
Notifications
You must be signed in to change notification settings - Fork 11
self_link
github-actions[bot] edited this page Jan 2, 2026
·
2 revisions
/**
* Callback function for the 'self_link' filter.
*
* @param mixed $set_url_scheme
* @return mixed The filtered value.
*/
function my_self_link_callback( $set_url_scheme ) {
// Your code here.
return $set_url_scheme;
}
add_filter( 'self_link', 'my_self_link_callback' );$set_url_scheme
\apply_filters( 'self_link', \set_url_scheme( 'http://' . $host['host'] . $request_uri ) )