wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



pre_do_shortcode_tag › Filtr WordPress Hooks

Od6.5.0
Przestarzałyn/a
› apply_filters( 'pre_do_shortcode_tag', false, $tag, $attr, $m )
Parametry: (4)
  • () output Short-circuit return value. Either false or the value to replace the shortcode with.
    Wymagane: Tak
  • () tag Shortcode name.
    Wymagane: Tak
  • () attr Shortcode attributes array, can be empty if the original arguments string cannot be parsed.
    Wymagane: Tak
  • () m Regular expression match array.
    Wymagane: Tak
Zdefiniowane na:
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.




Źródło

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