Deprecated
This method has been deprecated.
Notifications::menu_link( string $url, object $item )
Description #
Filter user menu links.
Parameters #
- $urlstring (Required) Menu url.
- $itemobject (Required) Menu item object.
Source #
File: addons/notifications/notifications.php
public function menu_link( $url, $item ) { if ( 'notifications' === $item->post_name ) { $url = '#apNotifications'; } return $url; }
Expand full source code Collapse full source code View on GitHub: addons/notifications/notifications.php:120
Add your comment