so_panels_show_classic_admin_notice

so_panels_show_classic_admin_notice

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: siteorigin-panels.2.29.9

apply_filters('so_panels_show_classic_admin_notice') is found 1 times:

  • /inc/admin.php line 1664
    		$post_types = siteorigin_panels_setting( 'post-types' );
    		$is_panels_type = in_array( $typenow, $post_types );
    		$use_classic = siteorigin_panels_setting( 'use-classic' );
    		$show_classic_admin_notice = $is_new && $is_panels_type && $use_classic;
    		$show_classic_admin_notice = apply_filters( 'so_panels_show_classic_admin_notice', $show_classic_admin_notice );
    
    		if ( $show_classic_admin_notice ) {
    			$settings_url = esc_url( self_admin_url( 'options-general.php?page=siteorigin_panels' ) );
    			$notice = sprintf(
    				__( "This post type is set to use the Classic Editor by default for new posts. If you'd like to change this to the Block Editor, please go to <a href='%s' class='components-notice__action is-link'>Page Builder Settings</a> and disable <strong>Use Classic Editor for New Posts</strong>." ),
    				$settings_url
    

See this hook used in plugins: