mirror of
https://gh.wpcy.net/https://github.com/fairpm/fair-parent-theme.git
synced 2026-04-30 14:49:00 +08:00
22 lines
No EOL
465 B
PHP
22 lines
No EOL
465 B
PHP
<?php
|
|
/**
|
|
* Hooks
|
|
*
|
|
* All hooks that are run in the theme are listed here
|
|
*
|
|
* @package fair-parent
|
|
*/
|
|
|
|
namespace Fair_Parent;
|
|
|
|
/**
|
|
* General hooks
|
|
*/
|
|
require get_theme_file_path( 'inc/hooks/general.php' );
|
|
add_action( 'widgets_init', __NAMESPACE__ . '\widgets_init' );
|
|
|
|
/**
|
|
* Scripts and styles associated hooks
|
|
*/
|
|
require get_theme_file_path( 'inc/hooks/scripts-styles.php' );
|
|
add_action( 'wp_enqueue_scripts', __NAMESPACE__ . '\enqueue_theme_scripts' ); |