views_{$this->screen->id}, $views

views_{$this->screen->id}, $views

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: 7.0.3

apply_filters('views_{$this->screen->id}, $views') is found 2 times:

  • /wp-admin/includes/class-wp-list-table.php line 516
    		 * @since 3.1.0
    		 *
    		 * @param string[] $views An array of available list table views.
    		 */
    		$views = apply_filters( "views_{$this->screen->id}", $views );
    
    		if ( empty( $views ) ) {
    			return;
    		}
    
    		$this->screen->render_screen_reader_content( 'heading_views' );
    
  • /wp-admin/includes/class-wp-plugin-install-list-table.php line 339
    	public function views() {
    		$views = $this->get_views();
    
    		/** This filter is documented in wp-admin/includes/class-wp-list-table.php */
    		$views = apply_filters( "views_{$this->screen->id}", $views );
    
    		$this->screen->render_screen_reader_content( 'heading_views' );
    
    		printf(
    			/* translators: %s: https://wordpress.org/plugins/ */
    			'<p>' . __( 'Plugins extend and expand the functionality of WordPress. You may install plugins from the <a href="%s">WordPress Plugin Directory</a> right on this page, or upload a plugin in .zip format by clicking the button above.' ) . '</p>',