Strict Standards: Declaration of my_wfx_taxonomy_highlighter::start_el() should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = Array, $id = 0) in /home/fluxframeadmin/public_html/wp-content/themes/wonderflux-dexter/functions.php on line 370
WF_ADMIN_ACCESS - Wonderflux Guide

WF_ADMIN_ACCESS

Description

Controls visibility and access of the entire Wonderflux menu system, including sub-pages.

Parameters

Various – please see examples below.

Example

<?php
//In your child theme functions.php file:

//Example 1
// For multiple user ID's (1 and 4)
define('WF_ADMIN_ACCESS', serialize(array('1','4')));

//Example 2
// For single user ID (1)
define('WF_ADMIN_ACCESS', serialize(array('1')));

//Example 3
// For a single WordPress role (can use custom defined roles too)
define('WF_ADMIN_ACCESS', 'administrator');

//Example 4
// To remove the menus for all users
define('WF_ADMIN_ACCESS', 'none');
?>

Notes

The specified user will require the WordPress capability manage_options to access the Wonderflux options pages.

This constant documentation was last modified on: August 7, 2011 by Jonny