AnsPress_Notification_Hook::ap_menu_object( object $items )
Description #
Filter notification menu title.
Parameters #
- $itemsobject (Required) Menu item object.
Source #
File: addons/free/notification.php
public static function ap_menu_object( $items ) { foreach ( $items as $k => $i ) { if ( isset( $i->object ) && 'notifications' === $i->object ) { $items[ $k ]->url = '#apNotifications'; $items[ $k ]->type = 'custom'; } } return $items; }
Expand full source code Collapse full source code View on GitHub: addons/free/notification.php:143
Add your comment