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

Ask a Question

Your email address will not be published.