Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
function plugin_settings( $settings )
{
$settings[ 'example' ] = array(
'example_setting' => array(
'id' => 'example_setting',
'type' => 'textbox',
'label' => __( 'Example Setting', 'ninja-forms-example' ),
'desc' => __( 'This is an example setting.', 'ninja-forms-example' ),
),
);
return $settings;
}
add_filter( 'ninja_forms_plugin_settings', 'plugin_settings', 10, 1 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment