Tribe__Settings::get_page_title( string $admin_page )

Get the settings page title.


Parameters

$admin_page

(string) (Required) The admin page ID.


Top ↑

Return

(string) The settings page title.


Top ↑

Source

File: src/Tribe/Settings.php

		public function get_page_title( $admin_page ) {
			$page_title = sprintf(
				// Translators: %s is the name of the menu item.
				__( '%s Settings', 'tribe-common' ),
				$this->menuName
			);

			/**
			 * Filter the tribe settings page title.
			 *
			 * @since 4.15.0
			 *
			 * @param string $page_title The settings page title.
			 * @param string $admin_page The admin page ID.
			 */
			return apply_filters( 'tribe_settings_page_title', $page_title, $admin_page );
		}

Top ↑

Changelog

Changelog
Version Description
4.15.0 Introduced.