Skip to content

Instantly share code, notes, and snippets.

@dovy
Created April 17, 2015 17:43
Show Gist options
  • Save dovy/dfdd53ab6cca0ccb3e52 to your computer and use it in GitHub Desktop.
Save dovy/dfdd53ab6cca0ccb3e52 to your computer and use it in GitHub Desktop.
<?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