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



apply_shortcodes › WordPress Function

Od5.4.0
Przestarzałyn/a
apply_shortcodes ( $content, $ignore_html = false )
Parametry: (2)
  • (string) $content Content to search for shortcodes.
    Wymagane: Tak
  • (bool) $ignore_html When true, shortcodes inside HTML elements will be skipped. Default false.
    Wymagane: Nie
    Domyślny: false
Zobacz:
Powrót:
  • (string) Content with shortcodes filtered out.
Zdefiniowane na:
Codex:

Searches content for shortcodes and filter shortcodes through their hooks.

This function is an alias for do_shortcode().


Źródło

function apply_shortcodes( $content, $ignore_html = false ) {
	return do_shortcode( $content, $ignore_html );
}