|
@@ -11,6 +11,17 @@ function gwp24_styles() {
|
|
add_action( 'wp_enqueue_scripts', 'gwp24_styles' );
|
|
add_action( 'wp_enqueue_scripts', 'gwp24_styles' );
|
|
|
|
|
|
|
|
|
|
|
|
+/***********************************************************
|
|
|
|
+######################## GForms ############################
|
|
|
|
+************************************************************/
|
|
|
|
+
|
|
|
|
+function gwp24_add_gf_capabilities(){
|
|
|
|
+ $role = get_role( 'editor' );
|
|
|
|
+ $role->add_cap( 'gform_full_access' );
|
|
|
|
+}
|
|
|
|
+add_action( 'admin_init', 'gwp24_add_gf_capabilities' );
|
|
|
|
+
|
|
|
|
+
|
|
/***********************************************************
|
|
/***********************************************************
|
|
###################### BrowserSync #########################
|
|
###################### BrowserSync #########################
|
|
************************************************************/
|
|
************************************************************/
|