settings_page, 'side', 'default' ); /* Add the 'Donate' meta box. */ add_meta_box( 'hybrid-hook-donate', __( 'Like this plugin?', 'bioship' ), 'hybrid_hook_meta_box_display_donate', $hybrid_hook->settings_page, 'side', 'high' ); /* Add the 'Support' meta box. */ // add_meta_box( 'hybrid-hook-support', __( 'Support', 'bioship' ), 'hybrid_hook_meta_box_display_support', $hybrid_hook->settings_page, 'side', 'low' ); /* Get all available hooks. */ $hooks = hybrid_hook_get_hooks(); /* Loop through the hooks, adding a meta box for each hook. */ foreach ( $hooks as $hook ) { // MOD: added the theme_prefix filter $theme_prefix = apply_filters('hybrid_hook_theme_prefix','hybrid'); $hook_name = "{$theme_prefix}_{$hook}"; add_meta_box( "hybrid-hook-{$hook}", $hook_name, 'hybrid_hook_meta_box_display_hook_editor', $hybrid_hook->settings_page, 'normal', 'high' ); } } /** * Displays the about plugin meta box. * * @since 0.3.0 */ function hybrid_hook_meta_box_display_about( $object, $box ) { $plugin_data = get_plugin_data( HYBRID_HOOK_DIR . 'hybrid-hook.php' ); ?>

' . __( 'Theme Hybrid', 'bioship' ) . '' ); ?>


HTML and/or shortcodes.', 'bioship' ); else _e( 'HTML entered into this box will be filtered because you do not have the unfiltered_html capability.', 'bioship' ); ?>

/>