wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



pre_do_shortcode_tag › WordPress Filter Hooks

Seit4.7.0
Veraltetn/v
apply_filters( 'pre_do_shortcode_tag', false, $tag, $attr, $m )
Parameter: (4)
  • (false|string) $output Short-circuit return value. Either false or the value to replace the shortcode with.
    Erforderlich: Ja
  • (string) $tag Shortcode name.
    Erforderlich: Ja
  • (array|string) $attr Shortcode attributes array or the original arguments string if it cannot be parsed.
    Erforderlich: Ja
  • (array) $m Regular expression match array.
    Erforderlich: Ja
Definiert in:
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.





Quellcode

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