bbp_current_author_ua

  • apply_filters( 'bbp_current_author_ua', $retval )

    Source Reference:

    • Component: bbPress :: bbp-user
      File: /bbp-includes/bbp-user-functions.php :: Trac Source Line: 162
       */
      function bbp_current_author_ua() {
      
      	// Sanity check the user agent
      	if ( !empty( $_SERVER['HTTP_USER_AGENT'] ) )
      		$retval = substr( $_SERVER['HTTP_USER_AGENT'], 0, 254 );
      	else
      		$retval = '';
      
      	return apply_filters( 'bbp_current_author_ua', $retval );
      }
      
      /** Favorites *****************************************************************/
      
      /**
       * Get the users who have made the topic favorite
       *
       * @since bbPress (r2658)
       *
       * @param int $topic_id Optional. Topic id
      

Comments are closed.