Notifications::get_actor()
Description #
Get actor ID.
Source #
File: addons/notifications/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/notifications/query.php:270
Add your comment