Add_Custom_Fields_To_Search::is_media_library()

Are we looking at the Media Library?


Return Return

(bool)


Top ↑

Source Source

File: includes/class-add-custom-fields-to-search.php

		protected function is_media_library() {
			return 'upload.php' === basename( $_SERVER['REQUEST_URI'], '?' . $_SERVER['QUERY_STRING'] );
		}