customize_load_themes
Проверено на WordPress 6.9, обновлено Источник: WordPress Developer Resources.
Сигнатура
apply_filters( 'customize_load_themes', array|stdClass $themes, array $args, WP_Customize_Manager $manager )
Описание
Русский перевод этого описания пока проверяется. Показан оригинал.
This allows theme data to be loading from an external source, or modification of data loaded from wp_prepare_themes_for_js() or WordPress.org via themes_api().
Фильтруемое значение
Параметры
$themes
array|stdClass
обязательный
$args
array
обязательный
$manager
WP_Customize_Manager
обязательный
Исходный код
wp-includes/class-wp-customize-manager.php:5986
$themes = apply_filters( 'customize_load_themes', $themes, $args, $this );
История изменений
| Версия | Описание |
|---|---|
| 4.9.0 | Introduced. |

