Skip to content

activitypub_remove_html_attributes

github-actions[bot] edited this page Dec 16, 2025 · 1 revision

Filter the global attributes to remove from all elements.

Auto-generated Example

/**
 * Filter the global attributes to remove from all elements.
 *
 * @param array $remove_attrs 
 * @return array The filtered value.
 */
function my_activitypub_remove_html_attributes_callback( array $remove_attrs ) {
    // Your code here.
    return $remove_attrs;
}
add_filter( 'activitypub_remove_html_attributes', 'my_activitypub_remove_html_attributes_callback' );

Parameters

  • array $remove_attrs Global attributes to remove.

Files

\apply_filters( 'activitypub_remove_html_attributes', $remove_attrs )

← All Hooks

Users

Developers

Clone this wiki locally