Title: all_themes
Published: April 25, 2014
Last modified: May 20, 2026

---

# apply_filters( ‘all_themes’, WP_Theme[] $all )

## In this article

 * [Parameters](https://developer.wordpress.org/reference/hooks/all_themes/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/all_themes/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/all_themes/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/all_themes/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/hooks/all_themes/?output_format=md#wp--skip-link--target)

Filters the full array of [WP_Theme](https://developer.wordpress.org/reference/classes/wp_theme/)
objects to list in the Multisite themes list table.

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/all_themes/?output_format=md#parameters)󠁿

 `$all`[WP_Theme](https://developer.wordpress.org/reference/classes/wp_theme/)[]

Array of [WP_Theme](https://developer.wordpress.org/reference/classes/wp_theme/)
objects to display in the list table.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/all_themes/?output_format=md#source)󠁿

    ```php
    'all'      => apply_filters( 'all_themes', wp_get_themes() ),
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-admin/includes/class-wp-ms-themes-list-table.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-admin/includes/class-wp-ms-themes-list-table.php#L121)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/class-wp-ms-themes-list-table.php#L121-L121)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/all_themes/?output_format=md#related)󠁿

| Used by | Description | 
| [WP_MS_Themes_List_Table::prepare_items()](https://developer.wordpress.org/reference/classes/wp_ms_themes_list_table/prepare_items/)`wp-admin/includes/class-wp-ms-themes-list-table.php` |

Prepares the themes list for display.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/all_themes/?output_format=md#changelog)󠁿

| Version | Description | 
| [3.1.0](https://developer.wordpress.org/reference/since/3.1.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fall_themes%2F)
before being able to contribute a note or feedback.