{$option}

{$option}

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

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('{$option}') is found 2 times:

  • /wp-admin/includes/class-wp-list-table.php line 1013
    		 * @since 2.9.0
    		 *
    		 * @param int $per_page Number of items to be displayed. Default 20.
    		 */
    		return (int) apply_filters( "{$option}", $per_page );
    	}
    
    	/**
    	 * Displays the pagination.
    	 *
    	 * @since 3.1.0
    
  • /wp-admin/includes/class-wp-screen.php line 1264
    			/** This filter is documented in wp-admin/includes/class-wp-terms-list-table.php */
    			$per_page = apply_filters( 'edit_categories_per_page', $per_page );
    		} else {
    			/** This filter is documented in wp-admin/includes/class-wp-list-table.php */
    			$per_page = apply_filters( "{$option}", $per_page );
    		}
    
    		// Back compat.
    		if ( isset( $this->post_type ) ) {
    			/** This filter is documented in wp-admin/includes/post.php */
    			$per_page = apply_filters( 'edit_posts_per_page', $per_page, $this->post_type );