get_theme_starter_content filter-hookWP 4.7.0

Filters the expanded array of starter content.

Usage

add_filter( 'get_theme_starter_content', 'wp_kama_get_theme_starter_content_filter', 10, 2 );

/**
 * Function for `get_theme_starter_content` filter-hook.
 * 
 * @param array $content Array of starter content.
 * @param array $config  Array of theme-specific starter content configuration.
 *
 * @return array
 */
function wp_kama_get_theme_starter_content_filter( $content, $config ){

	// filter...
	return $content;
}
$content(array)
Array of starter content.
$config(array)
Array of theme-specific starter content configuration.

Changelog

Since 4.7.0 Introduced.

Where the hook is called

get_theme_starter_content()
get_theme_starter_content
wp-includes/theme.php 2598
return apply_filters( 'get_theme_starter_content', $content, $config );

Where the hook is used in WordPress

Usage not found.