bp_nouveau_has_template_message()

Checks if a template notice/feedback message is set


Return Return

(bool) True if a template notice is set. False otherwise.


Source Source

File: bp-templates/bp-nouveau/includes/template-tags.php

function bp_nouveau_has_template_message() {
	$bp_nouveau = bp_nouveau();

	if ( empty( $bp_nouveau->template_message['message'] ) && empty( $bp_nouveau->user_feedback ) ) {
		return false;
	}

	return true;
}


Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.