wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



pre_do_shortcode_tag › Hooks de Filtros WordPress

Desde6.5.0
Obsoleton/a
› apply_filters( 'pre_do_shortcode_tag', false, $tag, $attr, $m )
Parâmetros: (4)
  • () output Short-circuit return value. Either false or the value to replace the shortcode with.
    Required: Yes
  • () tag Shortcode name.
    Required: Yes
  • () attr Shortcode attributes array, can be empty if the original arguments string cannot be parsed.
    Required: Yes
  • () m Regular expression match array.
    Required: Yes
Definido em:
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.




Fonte

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