Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
function check_example_setting( $setting )
{
// Check for errors...
if( $has_errors ) {
$setting['errors'][] = __('The value that you have entered appears to be invalid.', 'ninja-forms-example');
}
return $setting;
}
add_filter( 'ninja_forms_check_setting_example_setting', 'check_example_setting', 10, 1 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment