WP_Plugins_List_Table::display_rows

Advertisement

Syntax Syntax

WP_Plugins_List_Table::display_rows()

Source Source

File: wp-admin/includes/class-wp-plugins-list-table.php

		global $status;

		$actions = array();

		if ( 'active' !== $status ) {
			$actions['activate-selected'] = $this->screen->in_admin( 'network' ) ? __( 'Network Activate' ) : __( 'Activate' );
		}

		if ( 'inactive' !== $status && 'recent' !== $status ) {
			$actions['deactivate-selected'] = $this->screen->in_admin( 'network' ) ? __( 'Network Deactivate' ) : __( 'Deactivate' );
		}

Advertisement

Advertisement

Leave a Reply