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



wp_get_theme_directory_pattern_slugs › WordPress Function

Od6.3.0
Przestarzałyn/a
wp_get_theme_directory_pattern_slugs ( Brak parametrów )
Powrót:
  • (string[])
Zdefiniowane na:
Codex:

Returns the current theme's wanted patterns (slugs) to be registered from Pattern Directory.



Źródło

function wp_get_theme_directory_pattern_slugs() {
	return WP_Theme_JSON_Resolver::get_theme_data( array(), array( 'with_supports' => false ) )->get_patterns();
}