bookmark_bordergform_menu_position

Description

Modify the position the Gravity Forms menu should appear in the WordPress admin menu.

Usage

add_filter( 'gform_menu_position', 'my_custom_function', 10, 1 );

Parameters

  • $position integer

    Default value ‘16.9’, Position at which to output the Gravity Forms’ “Forms” menu in the WordPress admin menu.

Examples

In this example we demonstrate how to move the Gravity Forms’ “Forms” menu in the WordPress admin menu below the “Comments” menu item.

add_filter( 'gform_menu_position', 'my_gform_menu_position' );
function my_gform_menu_position( $position ) {
    return 50;
}

Source Code

This filter is located in GFForms::create_menu() in gravityforms.php