Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
chromed
/
wp-content
/
plugins
/
advanced-access-manager
/
application
/
Framework
/
AccessLevel
:
Default.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php /** * ====================================================================== * LICENSE: This file is subject to the terms and conditions defined in * * file 'license.txt', which is part of this source code package. * * ====================================================================== */ /** * Default access level * * The default access level is top layer and all other levels inherit settings from * it. * * @package AAM * * @version 7.0.0 */ class AAM_Framework_AccessLevel_Default implements AAM_Framework_AccessLevel_Interface { use AAM_Framework_AccessLevel_BaseTrait; /** * @inheritDoc */ protected $type = AAM_Framework_Type_AccessLevel::ALL; /** * @inheritDoc */ public function get_parent() { return apply_filters('aam_get_parent_access_level_filter', null, $this); } /** * @inheritDoc */ public function get_display_name() { return __('Default Access Level', 'advanced-access-manager'); } /** * Check if access level has specific capability * * @return bool * @access public * * @version 7.0.0 */ public function has_cap() { return true; } }