wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_get_theme_directory_pattern_slugs › WordPress Function

Da6.3.0
Deprecaton/a
wp_get_theme_directory_pattern_slugs ( Nessun parametro )
Ritorna:
  • (string[])
Definito a:
Codex:

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



Sorgenti

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