Add Custom Content Before Report Closing

You can insert custom content at the bottom of the report, before the Closing. Edit lines 6 — 8 to add your own custom content:

 * Insert custom content before the report Closing.
function my_zp_report_before_closing( $closing ) {
	$out = '<h3 class="zp-report-section-title">Extra Section At Bottom of Report</h3>';

	$out .= '<p>Custom content at the end of the report, before the closing.</p>';

	return $out . $closing;
add_filter( 'zp_report_closing', 'my_zp_report_before_closing' );

Updated on May 8, 2019

Questions and Comments are Welcome

Your email address will not be published. All comments will be moderated.

Please wrap code in "code" bracket tags like this: