wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
wp_remove_targeted_link_rel_filters › WordPress Function
Depuis5.1.0
Dépréciéen/a
› wp_remove_targeted_link_rel_filters ( Pas de paramètres )
Défini(e) dans: |
|
Codex: |
Removes all filters modifying the rel attribute of targeted links.
Fonctions en relation: wp_init_targeted_link_rel_filters, wp_targeted_link_rel, wp_targeted_link_rel_callback, remove_all_filters, wp_make_link_relative
Source
function wp_remove_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 ) { remove_filter( $filter, 'wp_targeted_link_rel' ); } }