bp_get_messages_username_value

  • apply_filters( 'bp_get_messages_username_value', $_COOKIE['bp_messages_send_to'] )

    Source Reference:

    • Component: BuddyPress :: bp-messages
      File: /bp-messages/bp-messages-template.php :: Trac Source Line: 370
      	function bp_get_messages_form_action() {
      		return apply_filters( 'bp_get_messages_form_action', trailingslashit( bp_loggedin_user_domain() . bp_get_messages_slug() . '/' . bp_current_action() . '/' . bp_action_variable( 0 ) ) );
      	}
      
      function bp_messages_username_value() {
      	echo bp_get_messages_username_value();
      }
      	function bp_get_messages_username_value() {
      		if ( isset( $_COOKIE['bp_messages_send_to'] ) ) {
      			return apply_filters( 'bp_get_messages_username_value', $_COOKIE['bp_messages_send_to'] );
      		} else if ( isset( $_GET['r'] ) && !isset( $_COOKIE['bp_messages_send_to'] ) ) {
      			return apply_filters( 'bp_get_messages_username_value', $_GET['r'] );
      		}
      	}
      
      function bp_messages_subject_value() {
      	echo bp_get_messages_subject_value();
      }
      	function bp_get_messages_subject_value() {
      		$subject = '';
      
  • apply_filters( 'bp_get_messages_username_value', $_GET['r'] )

    Source Reference:

    • Component: BuddyPress :: bp-messages
      File: /bp-messages/bp-messages-template.php :: Trac Source Line: 372
      	}
      
      function bp_messages_username_value() {
      	echo bp_get_messages_username_value();
      }
      	function bp_get_messages_username_value() {
      		if ( isset( $_COOKIE['bp_messages_send_to'] ) ) {
      			return apply_filters( 'bp_get_messages_username_value', $_COOKIE['bp_messages_send_to'] );
      		} else if ( isset( $_GET['r'] ) && !isset( $_COOKIE['bp_messages_send_to'] ) ) {
      			return apply_filters( 'bp_get_messages_username_value', $_GET['r'] );
      		}
      	}
      
      function bp_messages_subject_value() {
      	echo bp_get_messages_subject_value();
      }
      	function bp_get_messages_subject_value() {
      		$subject = '';
      		if ( !empty( $_POST['subject'] ) )
      			$subject = $_POST['subject'];
      

Comments are closed.