WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )apply_filters( "hook_name", "what_to_filter" ).Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
| Line | Code |
|---|---|
| 110 | */ |
| 111 | $no_texturize_tags = '(' . implode( '|', apply_filters( 'no_texturize_tags', $default_no_texturize_tags ) ) . ')'; |
| 112 | /** |
| 113 | * Filter the list of shortcodes not to texturize. |
| 114 | * |
| 115 | * @since 2.8.0 |
| 116 | * |
| 117 | * @param array $default_no_texturize_shortcodes An array of shortcode names. |
| 118 | */ |
| 119 | $no_texturize_shortcodes = '(' . implode( '|', apply_filters( 'no_texturize_shortcodes', $default_no_texturize_shortcodes ) ) . ')'; |
| 120 | |
| 121 | $no_texturize_tags_stack = array(); |
| 122 | $no_texturize_shortcodes_stack = array(); |
| 123 | |
| 124 | $textarr = preg_split('/(<.*>|\[.*\])/Us', $text, -1, PREG_SPLIT_DELIM_CAPTURE); |
| 125 | |
| 126 | foreach ( $textarr as &$curl ) { |
| 127 | if ( empty( $curl ) ) |
| 128 | continue; |