Output a message when no HTML was rendered

Return Return


Top ↑

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' );

Top ↑

Changelog Changelog

Version Description
1.8.0 Don't output empty render messages on the frontend.
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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