This method has been deprecated.

Notifications::menu_link( string $url, object $item )

Description #

Filter user menu links.

Parameters #

  • $url
    string (Required) Menu url.
  • $item
    object (Required) Menu item object.

Changelog #


Source #

File: addons/notifications/notifications.php

	public function menu_link( $url, $item ) {
		if ( 'notifications' === $item->post_name ) {
			$url = '#apNotifications';

		return $url;

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