This function has been deprecated.

ap_register_menu( string $slug, string $title, string $link )

Description #

Register AnsPress menu.

Parameters #

  • $slug
    string (Required) Menu slug.
  • $title
    string (Required) Menu title.
  • $link
    string (Required) Menu link.

Changelog #


Source #

File: includes/functions.php

function ap_register_menu( $slug, $title, $link ) {
	anspress()->menu[ $slug ] = array(
		'title' => $title,
		'link'  => $link,

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