Docs & Support

Learn about all the Formidable features and get support from our amazing customer success team.

frm_[settings]_settings_form

Heads up!
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.

Add settings or content on the Global settings page. The name of the tab will be the name of the hook. A few examples include:

  • frm_general_settings_form
  • frm_messages_settings_form
  • frm_permissions_settings_form
  • frm_misc_settings_form

Usage

add_action( 'frm_messages_settings_form', 'add_custom_global_messages' );
function add_custom_global_messages( $settings )

Formidable Forms makes advanced site building simple. Launch forms, directories, dashboards, and custom WordPress apps faster than ever before.

Parameters

  • $settings (object): The saved global settings.

Examples

Add custom settings in Misc tab of Global settings

Use this code example to display the input without saving the setting.

add_action( 'frm_misc_settings_form', 'custom_misc_settings' );
function custom_misc_settings( $settings ) {
	$value = isset( $settings->custom_setting ) ? $settings->custom_setting : '';
	?>
	<p>
		<label for="your-custom-setting">
			<?php esc_html_e( 'Your custom setting', 'text-domain' ); ?>
		</label>
		<input type="text" id="your-custom-setting" name="custom_setting" value="<?php echo esc_attr( $value ); ?>" />
	</p>
<?php
}

Change Log

Added in version 4.0

Was this article helpful? *

This article may contain affiliate links. Once in a while, we earn commissions from those links. But we only recommend products we like, with or without commissions.

In this article

    We have a small, but amazing team of dedicated people who are committed to helping you achieve your goals and project requirements.


    Copyright © 2025 Strategy11, LLC. Formidable Forms® is a registered trademark Strategy11, LLC.

    Join 400,000+ using Formidable Forms to create form-focused solutions fast. Get Formidable Forms