Skip to content

friends_rewrite_incoming_url

Alex Kirk edited this page Nov 22, 2024 · 12 revisions

Auto-generated Example

add_filter(
    'friends_rewrite_incoming_url',
    function (
        $url,
        $url,
        $parsed_url
    ) {
        // Your code here
        return $url;
    },
    10,
    3
);

Parameters

  • $url Other variable names: 'https://'.$friend_url, $https_ltrim
  • $url Other variable names: $friend_url
  • $parsed_url

Files

apply_filters( 'friends_rewrite_incoming_url', 'https://' . $feed['url'], $feed['url'] )
apply_filters( 'friends_rewrite_incoming_url', 'https://' . $feed['url'], $feed['url'] )
apply_filters( 'friends_rewrite_incoming_url', 'https://' . $friend_url, $friend_url )
apply_filters( 'friends_rewrite_incoming_url', 'https://' . ltrim( $friend_url, '/' ), $friend_url, $parsed_url )

Hooks

Clone this wiki locally