Changeset 47004
- Timestamp:
- 12/21/2019 08:10:25 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/shortcodes.php
r46688 r47004 163 163 * Search content for shortcodes and filter shortcodes through their hooks. 164 164 * 165 * This function is an alias for do_shortcode(). 166 * 167 * @since 5.4.0 168 * 169 * @see do_shortcode() 170 * 171 * @param string $content Content to search for shortcodes. 172 * @param bool $ignore_html When true, shortcodes inside HTML elements will be skipped. 173 * Default false. 174 * @return string Content with shortcodes filtered out. 175 */ 176 function apply_shortcodes( $content, $ignore_html = false ) { 177 return do_shortcode( $content, $ignore_html ); 178 } 179 180 /** 181 * Search content for shortcodes and filter shortcodes through their hooks. 182 * 165 183 * If there are no shortcode tags defined, then the content will be returned 166 184 * without any filtering. This might cause issues when plugins are disabled but … … 171 189 * @global array $shortcode_tags List of shortcode tags and their callback hooks. 172 190 * 173 * @param string $content Content to search for shortcodes. 174 * @param bool $ignore_html When true, shortcodes inside HTML elements will be skipped. 191 * @param string $content Content to search for shortcodes. 192 * @param bool $ignore_html When true, shortcodes inside HTML elements will be skipped. 193 * Default false. 175 194 * @return string Content with shortcodes filtered out. 176 195 */
Note: See TracChangeset
for help on using the changeset viewer.