get_theme_starter_content WordPress Filter Hook
The get_theme_starter_content hook allows a theme to specify its default content, which can be used to populate a new site. This content can be overridden by the user, but is a useful starting point for creating a new site.
apply_filters( 'get_theme_starter_content', array $content , array $config ) #
Filters the expanded array of starter content.
Parameters
- $content
(array)Array of starter content.
- $config
(array)Array of theme-specific starter content configuration.
Source
File: wp-includes/theme.php
Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |