Last active
March 3, 2018 20:05
-
-
Save beaverbuilder/efb3d04229dea7812e475ef671c8fba2 to your computer and use it in GitHub Desktop.
This snippet is used on the following knowledge base article - https://kb.wpbeaverbuilder.com/article/463-customize-settings-forms
This file contains 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 // do not copy this line, start with line 3 | |
function my_builder_register_settings_form( $form, $id ) { | |
if ( 'row' == $id ) { | |
// Modify the $form array for rows as needed. | |
} | |
elseif ( 'button' == $id ) { | |
// Modify the $form array for button modules as needed. | |
} | |
return $form; | |
} | |
add_filter( 'fl_builder_register_settings_form', 'my_builder_register_settings_form', 10, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment