Tribe__Admin__Notices::render_paragraph( string $slug, string $content = null, boolean $return = true )

This is a helper to print the message surrounded by p tags.


Parameters

$slug

(string) (Required) The name of the notice.

$content

(string) (Optional) The content of the notice.

Default value: null

$return

(boolean) (Optional) Echo or return the content.

Default value: true


Top ↑

Return

(boolean|string)


Top ↑

Source

File: src/Tribe/Admin/Notices.php

	public function render_paragraph( $slug, $content = null, $return = true ) {
		return $this->render( $slug, $content, $return, 'p' );
	}

Top ↑

Changelog

Changelog
Version Description
4.3 Introduced.