ap_register_notification_verb( string $key, array $args = array() )
Description #
Register notification verb.
Parameters #
- $keystring (Required) verb key.
- $argsarray (Optional) Verb arguments. Default value: array()
Source #
File: addons/notifications/functions.php
function ap_register_notification_verb( $key, $args = array() ) { global $ap_notification_verbs; $args = wp_parse_args( $args, array( 'ref_type' => 'post', 'label' => '', 'hide_actor' => false, 'icon' => '', ) ); $ap_notification_verbs[ $key ] = $args; }
Expand full source code Collapse full source code View on GitHub: addons/notifications/functions.php:269
Add your comment