admin管理员组文章数量:1315953
For a better organization of my theme's functions.php, i would like to know if it's possible to add multiples functions with add_action on customize_register ? Like this for exemple :
function banana_customize($wp_customize) {
///// Content of function }
add_action('customize_register','banana_customize')
function coconut_customize($wp_customize) {
///// Content of function }
add_action('customize_register','coconut_customize')
If i do this, i have an error and page won't load.
If this is not possible, could you tell me how to combine functions like so :
function banana_customize($wp_customize) {
///// Content of function }
function coconut_customize($wp_customize) {
///// Content of function }
" function combined_functions = banana_customize + coconut_customize "
add_action('customize_register','combined_functions')
Thanks in advance :)
本文标签: Multiples functions on customizeregister
版权声明:本文标题:Multiples functions on customize_register? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741995713a2410001.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论