aioseo_access_control_excluded_roles

aioseo_access_control_excluded_roles

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: all-in-one-seo-pack.4.7.5.1

apply_filters('aioseo_access_control_excluded_roles') is found 1 times:

  • /app/Common/Traits/Helpers/Wp.php line 64
    			[ 'superadmin', 'administrator', 'editor', 'author', 'contributor' ],
    			// Default AIOSEO roles.
    			[ 'aioseo_manager', 'aioseo_editor' ],
    			// Filterable roles.
    			apply_filters( 'aioseo_access_control_excluded_roles', array_merge( [
    				'subscriber'
    			], aioseo()->helpers->isWooCommerceActive() ? [ 'customer' ] : [] ) )
    		);
    
    		// Remove empty entries.
    		$toSkip = array_filter( $toSkip );