-
Notifications
You must be signed in to change notification settings - Fork 17
friends_load_themes
Alex Kirk edited this page Nov 22, 2024
·
1 revision
Time to register your theme.
You'll receive the frontend object on which you need to call register_theme()
.
add_action( 'friends_load_themes', function( Friends\Frontend $friends_frontend ) {
$friends_frontend->register_theme( 'Mastodon', 'mastodon' );
} );
-
Friends\Frontend
$frontend
The frontend object.
do_action( 'friends_load_themes', $this->frontend )