SHOW:
|
|
- or go back to the newest paste.
| 1 | - | // file: framework-customizations/theme/hooks.php |
| 1 | + | // file: {theme}/inc/hooks.php // https://github.com/ThemeFuse/Theme-Includes
|
| 2 | ||
| 3 | if (!function_exists('_action_theme_custom_framework_settings_menu')):
| |
| 4 | function _action_theme_custom_framework_settings_menu($data) {
| |
| 5 | add_menu_page( | |
| 6 | __( 'Unyson', 'fw' ), | |
| 7 | __( 'Unyson', 'fw' ), | |
| 8 | $data['capability'], | |
| 9 | $data['slug'], | |
| 10 | $data['content_callback'] | |
| 11 | ); | |
| 12 | } | |
| 13 | endif; | |
| 14 | add_action('fw_backend_add_custom_settings_menu', '_action_theme_custom_framework_settings_menu'); |