Ticket #1177: 1177.01.patch
File 1177.01.patch, 557 bytes (added by , 9 years ago) |
---|
-
functions.php
85 85 86 86 register_nav_menus(); 87 87 88 add_action( 'after_switch_theme', __NAMESPACE__ . '\\add_roles');88 add_action( 'after_switch_theme', array( 'Devhub_Handbooks', 'add_roles' ) ); 89 89 add_action( 'pre_get_posts', __NAMESPACE__ . '\\pre_get_posts' ); 90 90 add_action( 'wp_enqueue_scripts', __NAMESPACE__ . '\\theme_scripts_styles' ); 91 91 add_action( 'wp_head', __NAMESPACE__ . '\\header_js' );