wp_get_themes


wp_get_themes ( $args = array() )

Parameters:
  • (array) $args { Optional. The search arguments.
Returns:
  • (WP_Theme[]) Array of WP_Theme objects.
Defined at:

Description

Returns an array of WP_Theme objects based on the arguments.

Despite advances over get_themes(), this function is quite expensive, and grows linearly with additional themes. Stick to wp_get_theme() if possible.

Related Functions

wp_get_theme, get_themes, get_theme, wp_get_sites, wp_get_schedules

Top Google Results

User discussions

wpseek mobile