Skip to content
github-actions[bot] edited this page Jan 2, 2026 · 2 revisions

Auto-generated Example

/**
 * 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' );

Parameters

  • $set_url_scheme

Files

\apply_filters( 'self_link', \set_url_scheme( 'http://' . $host['host'] . $request_uri ) )

← All Hooks

Clone this wiki locally