- Sections
apply_filters('redux-sections',$sections);
apply_filters('redux/options/'.$this->args['opt_name'].'/sections',$sections);
- Local (Internationalization)
apply_filters( 'redux/textdomain/'.$this->args['opt_name'], get_locale(), $domain );
- Wordpress Data
apply_filters( 'redux/options/'.$this->args['opt_name'].'/wordpress_data/'.$type.'/', $data );
apply_filters( 'redux/options/'.$this->args['opt_name'].'/data/'.$type, $data );
- Font Icons
apply_filters('redux-font-icons',array());
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 | |
array( | |
'id'=>'text', | |
'type' => 'text', | |
'title' => __('Test Compiler', 'redux-framework-demo'), | |
'subtitle' => __('This is to test the compiler hook.', 'redux-framework-demo'), | |
'desc' => __('Each time this field is set, a flag is set. On save, that flag initates a compiler hook!', 'redux-framework-demo'), | |
'compiler' => true, | |
'default' => 'Test Compiler' | |
), |
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 | |
global $pagenow; | |
if ($pagenow !== "post.php" || $pagenow !== "post-new.php") { | |
return; | |
} |
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 | |
if( !class_exists( 'SMOFtoRedux' ) ) { | |
class SMOFtoRedux { | |
public function __construct( ) { | |
add_action('init', array($this, 'addPanel'), 100); | |
add_action( 'admin_menu', array($this, 'addExportMenu') ); |
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
<? | |
array( | |
'id'=>'typographyTest', | |
'type' => 'typography', | |
'title' => __('Typography', 'redux-framework-demo'), | |
'font-style'=>false, // Includes font-style and weight. Can use font-style or font-weight to declare | |
'font-weight'=>false, // Includes font-style and weight. Can use font-style or font-weight to declare | |
'subsets'=>false, // Only appears if google is true and subsets not set to false | |
'font-size'=>false, | |
'font-family'=>false, |
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 | |
if ( !class_exists( "ReduxFramework" ) ) { | |
return; | |
} | |
if ( !class_exists( "Redux_Framework_redux_converter_cf5486bd5852b65564baf7c" ) ) { | |
class Redux_Framework_redux_converter_cf5486bd5852b65564baf7c { | |
public function __construct( ) { | |
// Your base config file for Redux |
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
<? | |
if ( !class_exists( "ReduxFramework" ) ) { | |
return; | |
} | |
if ( !class_exists( "SMOF2Redux_{{opt_name}}_{{uuid}}" ) ) { | |
class SMOF2Redux_{{opt_name}}_{{uuid}} { | |
public function __construct( ) { | |
// Your base config file for Redux | |
add_action( 'redux/loaded', array($this, 'addPanel') ); |
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
Azeri - Azərbaycan Dili (az_AZ) | |
آذربایجان دیلی - آذری (azb_AZB) | |
Azerbaijani (Turkey) - Azərbaycan Türkcəsi (az_TR) | |
Afrikaans - Afrikaans (af) | |
Albanian - Shqip (sq_AL) | |
Arabic – عربي (ar) | |
Aragonese - Aragonés (an) | |
Assamese - অসমীয়া (as) | |
Bangla - Bengali (bn_BD) | |
Basque - Euskara (eu) |
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
'use strict'; | |
angular.module('rootSnapApp') | |
.constant('ListCtrlResolver', { | |
ancestry: function(familysearch) { | |
return familysearch.getCurrentUserPersonId().then(function(id) { | |
return familysearch.getAncestry(id, {personDetails: true}).then(function(response) { | |
return response.getPersons(); | |
}); | |
}); |
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 | |
$boxSections = array(); | |
$boxSections[] = array( | |
'title' => __('Home Settings', 'redux-framework-demo'), | |
'header' => __('Welcome to the Simple Options Framework Demo', 'redux-framework-demo'), | |
'desc' => __('Redux Framework was created with the developer in mind. It allows for any theme developer to have an advanced theme panel with most of the features a developer would need. For more information check out the Github repo at: <a href="https://github.com/ReduxFramework/Redux-Framework">https://github.com/ReduxFramework/Redux-Framework</a>', 'redux-framework-demo'), | |
'icon_class' => 'icon-large', | |
'icon' => 'el-icon-home', | |
// 'submenu' => false, // Setting submenu to false on a given section will hide it from the WordPress sidebar menu! | |
'fields' => array( |