W3cubDocs

/WordPress

WP_Media_List_Table::no_items()

Source

public function no_items() {
	if ( $this->is_trash ) {
		_e( 'No media files found in Trash.' );
	} else {
		_e( 'No media files found.' );
	}
}

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_media_list_table/no_items