screen_layout_columns

screen_layout_columns

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('screen_layout_columns') is found 1 times:

  • /wp-admin/includes/class-wp-screen.php line 943
    		 * @param array     $empty_columns Empty array.
    		 * @param string    $screen_id     Screen ID.
    		 * @param WP_Screen $screen        Current WP_Screen instance.
    		 */
    		$columns = apply_filters( 'screen_layout_columns', array(), $this->id, $this );
    
    		if ( ! empty( $columns ) && isset( $columns[ $this->id ] ) ) {
    			$this->add_option( 'layout_columns', array( 'max' => $columns[ $this->id ] ) );
    		}
    
    		if ( $this->get_option( 'layout_columns' ) ) {