bp_message_activate_deactivate_text

  • apply_filters( 'bp_message_activate_deactivate_text', $text )

    Source Reference:

    • Component: BuddyPress :: bp-messages
      File: /bp-messages/bp-messages-template.php :: Trac Source Line: 500
      }
      	function bp_get_message_activate_deactivate_text() {
      		global $messages_template;
      
      		if ( 1 == (int)$messages_template->thread->is_active  ) {
      			$text = __('Deactivate', 'buddypress');
      		} else {
      			$text = __('Activate', 'buddypress');
      		}
      		return apply_filters( 'bp_message_activate_deactivate_text', $text );
      	}
      
      /**
       * Output the messages component slug
       *
       * @package BuddyPress
       * @subpackage Messages Template
       * @since 1.5
       *
       * @uses bp_get_messages_slug()
      

Comments are closed.