Filter Hooks

Filter Hooks

/ Core  /  Advanced  /  Core  /  Filters  / Filter Hooks

The follow table is a list of available filter hooks within Redux Framework that developers may use in their own code.  Please note, a solid understand of PHP and WordPress filter hooks is required.

As always, please be sure to replace {opt_name} with the opt_name string of your Redux instance.

Thanks to @paulthecoder for compiling this list.

TagValueExtra ArgsDescription
redux/textdomain/{opt_name}$locale
(string) The locale of the blog or from the ‘locale’ hook.
$text_domain
(string) ‘redux-framework’ text domain.
Locale for text domain.
redux/font-icons$font_icons
(array) Array of elusive icon classes.
  
redux/page/{opt_name}/enqueue/jquery-ui-css$url
(string) The url to enqueue jQuery UI CSS.
  
redux/{opt_name}/field/class/{field.type}$class
(string) Field class file path.
$field
(array) Field config data.
Change the path of a specific field.
redux/{opt_name}/localize/save_pending$text
(string) Save pending text.
  
redux/{opt_name}/localize/reset$text
(string) Reset all string.
  
redux/{opt_name}/localize/reset_section$text
(string) Reset section string.
  
redux/{opt_name}/localize/preset$text
(string) Preset confirm string.
  
redux/{opt_name}/panel/templates_path$path
(string) The panel templates path.
  
redux/{opt_name}/panel/template/{file_name}$path
(string) Path to the template file.
  
redux/{opt_name}/field/font/icons$font_icons
(array) Array of elusive icon classes
  
edux/{opt_name}/field/class/{field.type}$file_path
(string) Field class file.
$field
(array) Field config data.
Field class file.
redux-imported-text-{opt_name}$text
(string) Translated “settings imported” text.
  
redux-defaults-text-{opt_name}$text
(string) Translated all “defaults restored” text.
  
redux-defaults-section-text-{opt_name}$text
(string) Translated section “defaults restored” text.
  
redux-saved-text-{opt_name}$text
(string) Translated “settings saved” text.
  
redux-changed-text-{opt_name}$text
(string) Translated “settings have changed” text.
  
redux/args/{opt_name}$args
(array) ReduxFramework configuration.
  
redux/options/{opt_name}/args$args
(array) ReduxFramework configuration.
  
redux/options/{opt_name}/sections$sections
(array) Field option sections.
  
redux/options/{opt_name}/global_variable$value
(array) Option value to set global_variable with.
  
redux/options/{opt_name}/data/{type}$data
(string) WordPress specific data.
  
redux/options/{opt_name}/defaults$defaults
(array) Option default values.
  
redux/options/{opt_name}/section/{section.id}$section
(array) Section configuration.
  
redux/options/{opt_name}/field/{field.id}/register$field
(array) Field config data.
  
redux/options/{opt_name}/field/{field.id}$field
(array) Field config data.
  
redux/field/{opt_name}/output_css$field
(array) Field config data.
  
redux/field/{opt_name}/{field.type}/render/after$text
(string) Rendered field markup.
$field
(array) Field data.
 
redux/field/{opt_name}/render/after$text
(string) Rendered field markup.
$field
(array) Field data.
 
redux/field/{opt_name}/_can_output_css$field
(array) Field data.
 Check if a field meets its requirements before outputting to CSS.
redux/extension/{opt_name}/{folder}$file_path
(string) Extension class file path.
$extension_class
(string) Extension class name.
 
redux/validate/{opt_name}/defaults$defaults
(array) Option default values.
 When all options have been reset to defaults.
redux/validate/{opt_name}/defaults_section$plugin_options 
(array) Option default values.
 When a section’s options have been reset to defaults.
redux/validate/{opt_name}/before_validation$plugin_options
(array) The options array before validation.
$redux_options
(array) Redux Framework options array.
 
redux/validate/{opt_name}/class/{field.validate}$file_path
(string) Validation class file path.
$class_file
(string) Validation class file path.
 

Related Articles

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值