wp_init_targeted_link_rel_filters() – Adds all filters modifying the rel attribute of targeted links.

You appear to be a bot. Output may be restricted

Description

Adds all filters modifying the rel attribute of targeted links.

Usage

wp_init_targeted_link_rel_filters();

Parameters

Returns

void

Source

File name: wordpress/wp-includes/formatting.php
Lines:

1 to 17 of 17
function wp_init_targeted_link_rel_filters() {
  $filters = array(
    'title_save_pre',
    'content_save_pre',
    'excerpt_save_pre',
    'content_filtered_save_pre',
    'pre_comment_content',
    'pre_term_description',
    'pre_link_description',
    'pre_link_notes',
    'pre_user_description',
  );

  foreach ( $filters as $filter ) {
    add_filter( $filter, 'wp_targeted_link_rel' )  <;
  }
}
 

 View on GitHub View on Trac