LLMS_Blocks_Abstract_Block::get_empty_render_message()
Output a message when no HTML was rendered
Return Return
(string)
Source Source
File: libraries/lifterlms-blocks/includes/class-llms-blocks-abstract-block.php
public function get_empty_render_message() {
if ( ! is_admin() ) {
return '';
}
return __( 'No HTML was returned.', 'lifterlms' );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 1.8.0 | Don't output empty render messages on the frontend. |
| 1.0.0 | Introduced. |