Created
April 17, 2015 17:43
-
-
Save dovy/dfdd53ab6cca0ccb3e52 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
Redux::setSection( | |
'tuts_plus_tutorial', // This is your opt_name, | |
array( // This is your arguments array | |
'id' => 'subsectionsection_example_1', // Unique identifier for your panel. Must be set and must not contain spaces or special characters | |
'title' => 'Subsection Parent', | |
'icon' => 'el el-magic', // http://elusiveicons.com/icons/ | |
//'subsection' => true, // Enable this as subsection of a previous section | |
) | |
); | |
Redux::setSection( | |
'tuts_plus_tutorial', // This is your opt_name, | |
array( // This is your arguments array | |
'id' => 'subsectionsection_example_2', // Unique identifier for your panel. Must be set and must not contain spaces or special characters | |
'title' => 'Subsection 1', | |
'icon' => 'el el-lines', // http://elusiveicons.com/icons/ | |
'subsection' => true, // Enable this as subsection of a previous section | |
) | |
); | |
Redux::setSection( | |
'tuts_plus_tutorial', // This is your opt_name, | |
array( // This is your arguments array | |
'id' => 'subsectionsection_example_3', // Unique identifier for your panel. Must be set and must not contain spaces or special characters | |
'title' => 'Subsection 2', | |
'icon' => 'el el-question', // http://elusiveicons.com/icons/ | |
'subsection' => true, // Enable this as subsection of a previous section | |
) | |
); | |
Redux::setSection( | |
'tuts_plus_tutorial', // This is your opt_name, | |
array( // This is your arguments array | |
'id' => 'subsectionsection_example_4', // Unique identifier for your panel. Must be set and must not contain spaces or special characters | |
'title' => 'Subsection 3', | |
'icon' => 'el el-bulb', // http://elusiveicons.com/icons/ | |
'subsection' => true, // Enable this as subsection of a previous section | |
) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment