frontend, 'sensei_output_content_wrapper' ), 10 ); remove_action( 'sensei_after_main_content', array( $woothemes_sensei->frontend, 'sensei_output_content_wrapper_end' ), 10 ); add_action( 'sensei_before_main_content', array( $this, 'wrapper_start' ), 10 ); add_action( 'sensei_after_main_content', array( $this, 'wrapper_end' ), 10 ); add_action( 'ocean_main_metaboxes_post_types', array( $this, 'add_metabox' ), 20 ); add_filter( 'ocean_primary_backgrounds', array( $this, 'primary_backgrounds' ) ); add_filter( 'ocean_hover_primary_backgrounds', array( $this, 'hover_primary_backgrounds' ) ); } /** * Declare Sensei support * * @since 1.4.0 */ public static function declare_sensei_support() { add_theme_support( 'sensei' ); } /** * Load custom CSS file * * @since 1.4.0 */ public static function add_custom_css() { if ( is_sensei() || is_tax( 'module' ) ) { wp_enqueue_style( 'oceanwp-sensei', OCEANWP_CSS_DIR_URI .'third/sensei.min.css' ); } } /** * Add wrappers start * * @since 1.4.0 */ public static function wrapper_start() { ob_start(); ?>