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



pre_do_shortcode_tag › Les Filtres WordPress

Depuis6.5.0
Dépréciéen/a
› apply_filters( 'pre_do_shortcode_tag', false, $tag, $attr, $m )
Paramètres: (4)
  • () output Short-circuit return value. Either false or the value to replace the shortcode with.
    Requis: Oui
  • () tag Shortcode name.
    Requis: Oui
  • () attr Shortcode attributes array, can be empty if the original arguments string cannot be parsed.
    Requis: Oui
  • () 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 );