populate_options
Fires before creating WordPress options and populating their default values.
Usage
add_action( 'populate_options', 'wp_kama_populate_options_action' ); /** * Function for `populate_options` action-hook. * * @return void */ function wp_kama_populate_options_action(){ // action... }
Changelog
Since 2.6.0 | Introduced. |
Where the hook is called
populate_options
wp-admin/includes/schema.php 370
do_action( 'populate_options' );