Deprecated
This method has been deprecated.
AnsPress_Notification_Hook::menu_link( string $url, object $item )
Description #
Filter user menu links.
Parameters #
- $urlstring (Required) Menu url.
- $itemobject (Required) Menu item object.
Source #
File: addons/free/notification.php
public static 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/free/notification.php:109
Add your comment