Pages::get_pages_with_tabs( array $pages = array() )

Get pages with tabs.


Parameters #

$pages

(array) (Optional) The list of pages with tabs.

Default value: array()


Top ↑

Return #

(array) $pages The list of pages with tabs, filtered.


Top ↑

Source #

File: src/Tribe/Admin/Pages.php

	public function get_pages_with_tabs( $pages = [] ) {
		/**
		* Filters the pages with tabs.
		*
		* @param array $pages Pages with tabs.
		*
		* @since 4.15.0
		*/
		return apply_filters(
			'tec_admin_pages_with_tabs',
			$pages
		);
	}

Top ↑

Changelog #

Changelog
Version Description
4.15.0 Introduced.