Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/23/2021 02:03:02 AM (3 years ago)
Author:
espellcaste
Message:

Making PHPDoc Improvements to the BP Notifications (component) files.

See #8553

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-notifications/bp-notifications-template.php

    r13034 r13091  
    493493    echo bp_get_the_notification_description();
    494494}
    495 
    496495    /**
    497496     * Get full-text description for a specific notification.
     
    526525         * @since 2.3.0 Added the `$notification` parameter.
    527526         *
    528          * @param string $description  Full-text description for a specific notification.
    529          * @param object $notification Notification object.
     527         * @param string                        $description  Full-text description for a specific notification.
     528         * @param BP_Notifications_Notification $notification Notification object.
    530529         */
    531530        return apply_filters( 'bp_get_the_notification_description', $description, $notification );
     
    600599        $args = array(
    601600            'action'          => 'read',
    602             'notification_id' => $id
     601            'notification_id' => $id,
    603602        );
    604603
     
    692691        $args = array(
    693692            'action'          => 'unread',
    694             'notification_id' => $id
     693            'notification_id' => $id,
    695694        );
    696695
     
    835834        $args = array(
    836835            'action'          => 'delete',
    837             'notification_id' => $id
     836            'notification_id' => $id,
    838837        );
    839838
Note: See TracChangeset for help on using the changeset viewer.