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.
Contents
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
Return
(boolean|string)
Source
File: src/Tribe/Admin/Notices.php
public function render_paragraph( $slug, $content = null, $return = true ) { return $this->render( $slug, $content, $return, 'p' ); }
Changelog
Version | Description |
---|---|
4.3 | Introduced. |