| | 324 | /** |
| | 325 | * Filters whether to call a shortcode callback. |
| | 326 | * |
| | 327 | * Passing a truthy value to the filter will effectively short-circuit the |
| | 328 | * shortcode generation process, returning that value instead. |
| | 329 | * |
| | 330 | * @since 4.7.0 |
| | 331 | * |
| | 332 | * @param bool|string $return Short-circuit return value. Either false or a URL string. |
| | 333 | * @param string $tag Shortcode name. |
| | 334 | * @param array $attr Shortcode attributes array, |
| | 335 | * @param array $m Regular expression match array. |
| | 336 | */ |
| | 337 | $return = apply_filters( 'pre_do_shortcode_tag', false, $tag, $attr, $m ); |
| | 338 | if ( false !== $return ) { |
| | 339 | return $return; |
| | 340 | } |
| | 341 | |