WP_Plugins_List_Table::ajax_user_can

Advertisement

Syntax Syntax

WP_Plugins_List_Table::ajax_user_can()

Return Return

(bool)

Source Source

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

			&& current_user_can( 'update_plugins' )
			&& ( ! is_multisite() || $this->screen->in_admin( 'network' ) )
			&& ! in_array( $status, array( 'mustuse', 'dropins' ), true );

Advertisement

Advertisement

Leave a Reply