acf_set_options_page_menu()

Last updated Feb 17, 2022

Description

This function has been deprecated. Please use the acf/options_page/settings filter instead.

Modifies the default Options Page menu name, displayed in the admin menu.

Requirements

Parameters

acf_set_options_page_menu( $menu_name );
  • $menu_name (string) (Required) The menu name for the default Options Page. Defaults to ‘Options’.

Example

This example demonstrates how to change the default Options Page menu name to ‘Extra’.

if( function_exists('acf_set_options_page_menu') ) {
    acf_set_options_page_menu( __('Extra') );
}
Supercharge Your Website With Premium Features Using ACF PRO

Speed up your workflow and unlock features to better develop websites using ACF Blocks and Options Pages, with the Flexible Content, Repeater, Clone, Gallery Fields & More.

Explore Features View Pricing

PRO Features
ACF Blocks
Options Pages
PRO Fields
Repeater
Flexible Content
Gallery
Clone