Automattic\WooCommerce\Internal\Admin

SystemStatusReport::render_notes()publicWC 1.0

Render the notes row.

Method of the class: SystemStatusReport{}

No Hooks.

Return

null. Nothing (null).

Usage

$SystemStatusReport = new SystemStatusReport();
$SystemStatusReport->render_notes();

SystemStatusReport::render_notes() code WC 8.7.0

<?php
public function render_notes() {
	$notes_count = Notes::get_notes_count();

	?>
		<tr>
			<td data-export-label="Notes">
				<?php esc_html_e( 'Notes', 'woocommerce' ); ?>:
			</td>
			<td class="help"><?php echo wc_help_tip( esc_html__( 'How many notes in the database?', 'woocommerce' ) ); /* phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped */ ?></td>
			<td>
				<?php
					echo esc_html( $notes_count )
				?>
			</td>
		</tr>
	<?php
}