Tribe__Events__Capabilities::get_roles()

Get the Roles to Modify Capabilities.


Return #

(array) An array of roles to modify capabilities.


Top ↑

Source #

File: src/Tribe/Capabilities.php

	public function get_roles() {

		/**
		 * Filters the Roles for Tribe Events Capabilities.
		 *
		 * @since 5.1.1
		 *
		 * @param array $roles An array of roles to add capabilities.
		 */
		return apply_filters( 'tribe_events_filter_roles_with_capabilities', $this->roles );
	}

Top ↑

Changelog #

Changelog
Version Description
5.1.1 Introduced.