Deprecated

This function has been deprecated.

ap_register_option_group( string $group_slug, string $group_title )

Description #

Register anspress option tab and fields.

Parameters #

  • $group_slug
    string (Required) slug for links.
  • $group_title
    string (Required) Page title.

Changelog #

VersionDescription
4.1.0This function has been deprecated.
2.0.0Introduced.

Source #

File: includes/deprecated.php

function ap_register_option_group( $group_slug, $group_title ) {
	_deprecated_function( __FUNCTION__, '4.1.0' );

	global $ap_option_tabs;
	$ap_option_tabs[ $group_slug ] = array(
		'title'    => $group_title,
		'sections' => [],
	);
}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment