bp_get_the_thread_message_time_since

  • apply_filters( 'bp_get_the_thread_message_time_since', sprintf( __( 'Sent %s', 'buddypress' ), bp_core_time_since( strtotime( $thread_template->message->date_sent ) ) ) )

    Source Reference:

    • Component: BuddyPress :: bp-messages
      File: /bp-messages/bp-messages-template.php :: Trac Source Line: 855
      		return apply_filters( 'bp_get_message_thread_delete_link', wp_nonce_url( $bp->loggedin_user->domain . $bp->messages->slug . '/inbox/delete/' . bp_get_the_thread_id(), 'messages_delete_thread' ) );
      	}
      
      function bp_the_thread_message_time_since() {
      	echo bp_get_the_thread_message_time_since();
      }
      	function bp_get_the_thread_message_time_since() {
      		global $thread_template;
      
      		return apply_filters( 'bp_get_the_thread_message_time_since', sprintf( __( 'Sent %s', 'buddypress' ), bp_core_time_since( strtotime( $thread_template->message->date_sent ) ) ) );
      	}
      
      function bp_the_thread_message_content() {
      	echo bp_get_the_thread_message_content();
      }
      	function bp_get_the_thread_message_content() {
      		global $thread_template;
      
      		return apply_filters( 'bp_get_the_thread_message_content', $thread_template->message->message );
      	}
      

Comments are closed.