wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



pre_do_shortcode_tag › Les Filtres WordPress

Depuis4.7.0
Dépréciéen/a
apply_filters( 'pre_do_shortcode_tag', false, $tag, $attr, $m )
Paramètres: (4)
  • (false|string) $output Short-circuit return value. Either false or the value to replace the shortcode with.
    Requis: Oui
  • (string) $tag Shortcode name.
    Requis: Oui
  • (array|string) $attr Shortcode attributes array or the original arguments string if it cannot be parsed.
    Requis: Oui
  • (array) $m Regular expression match array.
    Requis: Oui
Défini(e) dans:
Codex:

Filters whether to call a shortcode callback.

Returning a non-false value from filter will short-circuit the shortcode generation process, returning that value instead.





Source

$return = apply_filters( 'pre_do_shortcode_tag', false, $tag, $attr, $m );