Deprecated

This function has been deprecated.

ap_register_option_section( $group,  $slug,  $title,  $fields )

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_section( $group, $slug, $title, $fields ) {
	_deprecated_function( __FUNCTION__, '4.1.0' );

	global $ap_option_tabs;
	$ap_option_tabs[ $group ]['sections'][ $slug ] = array(
		'title'  => $title,
		'fields' => $fields,
	);
}

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