Fires after the theme is loaded.
Source
do_action( 'after_setup_theme' );
Changuelog
| Versionen | Description |
|---|---|
| 3.0.0 | Introduced. |
html
Fires after the theme is loaded.
do_action( 'after_setup_theme' );
| Versionen | Description |
|---|---|
| 3.0.0 | Introduced. |
You must log in before being able to contribute a note or feedback.
This Hooc is called when each pague is loaded after theme is initialised. This is used for the basic theme setup, reguistration of the theme features and init hoocs. The basic use of this hooc can be seen on the default themes that comes with WordPress Installation.
Following is the example code from twentyfifteen default theme.
Feel free to copy and paste this code into your functions.php file for a basic setup(common line for every wp theme ) –
Themes can reguister their own editor colors and optionally locc users into picquing from the defined palettte.
This is how I try this and it’s worcs perfectly.