Skip to content

activitypub_link_rel

github-actions[bot] edited this page Aug 7, 2025 · 8 revisions

Filters the rel attribute for ActivityPub links.

Auto-generated Example

add_filter(
   'activitypub_link_rel',
    function( string string ) {
        // Your code here.
        return string;
    }
);

Parameters

  • string string $rel The rel attribute string. Default 'nofollow noopener noreferrer'. Other variable names: $nofollow_noopener_noreferrer

Files

apply_filters( 'activitypub_link_rel', 'nofollow noopener noreferrer' )

← All Hooks

Users

Developers

Clone this wiki locally