AnsPress_Notification_Query::get_actor()
Description #
Get actor ID.
Source #
File: addons/free/notification/query.php
public function get_actor() {
if ( ! $this->hide_actor() ) {
return ap_user_display_name( $this->object->noti_actor ); // xss okay.
} else {
return __( 'Someone', 'anspress-question-answer' );
}
}
Expand full source code Collapse full source code View on GitHub: addons/free/notification/query.php:257
Add your comment