Activity::get_the_icon()

Description #

Get the icon of activity.

Changelog #

VersionDescription
4.1.2Introduced.

Source #

File: includes/class/class-activity.php

444
445
446
447
448
449
450
public function get_the_icon() {
    if ( is_array( $this->object->action ) || ! empty( $this->object->action['icon'] ) ) {
        return $this->object->action['icon'];
    }
 
    return 'apicon-pulse';
}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment