siteorigin_panels_add_preview_content
siteorigin_panels_add_preview_content
Appears in: siteorigin-panels.2.20.5, siteorigin-panels.2.20.6, siteorigin-panels.2.21.1, siteorigin-panels.2.22.1, siteorigin-panels.2.23.0, siteorigin-panels.2.24.0, siteorigin-panels.2.25.0, siteorigin-panels.2.25.3, siteorigin-panels.2.26.0, siteorigin-panels.2.26.1, siteorigin-panels.2.26.2, siteorigin-panels.2.27.0, siteorigin-panels.2.28.0, siteorigin-panels.2.29.15, siteorigin-panels.2.29.16, siteorigin-panels.2.29.17, siteorigin-panels.2.29.18, siteorigin-panels.2.29.20, siteorigin-panels.2.29.22, siteorigin-panels.2.29.3, siteorigin-panels.2.29.4, siteorigin-panels.2.29.5, siteorigin-panels.2.29.6, siteorigin-panels.2.29.8, siteorigin-panels.2.29.9, siteorigin-panels.2.30.0, siteorigin-panels.2.31.0, siteorigin-panels.2.31.3
Hook Type: filter
Displaying hooks found in version: siteorigin-panels.2.31.3apply_filters('siteorigin_panels_add_preview_content') is found 2 times:
- /inc/admin.php line 205
public function render_meta_boxes( $post ) { $panels_data = $this->get_current_admin_panels_data(); $preview_url = SiteOrigin_Panels::preview_url(); if ( apply_filters( 'siteorigin_panels_add_preview_content', true ) ) { $preview_content = apply_filters( 'siteorigin_panels_add_preview_content', true ) ? $this->generate_panels_preview( $post->ID, $panels_data ) : ''; } $builder_id = uniqid(); $builder_type = apply_filters( 'siteorigin_panels_post_builder_type', 'editor_attached', $post, $panels_data ); $builder_supports = apply_filters( 'siteorigin_panels_builder_supports', array(), $post, $panels_data );
- /inc/admin.php line 206
$panels_data = $this->get_current_admin_panels_data(); $preview_url = SiteOrigin_Panels::preview_url(); if ( apply_filters( 'siteorigin_panels_add_preview_content', true ) ) { $preview_content = apply_filters( 'siteorigin_panels_add_preview_content', true ) ? $this->generate_panels_preview( $post->ID, $panels_data ) : ''; } $builder_id = uniqid(); $builder_type = apply_filters( 'siteorigin_panels_post_builder_type', 'editor_attached', $post, $panels_data ); $builder_supports = apply_filters( 'siteorigin_panels_builder_supports', array(), $post, $panels_data ); include plugin_dir_path( __FILE__ ) . '../tpl/metabox-panels.php';