Automattic\WooCommerce\Internal\Admin
SystemStatusReport::render_notes
Render the notes row.
Method of the class: SystemStatusReport{}
No Hooks.
Returns
null. Nothing (null).
Usage
$SystemStatusReport = new SystemStatusReport(); $SystemStatusReport->render_notes();
SystemStatusReport::render_notes() SystemStatusReport::render notes code WC 10.8.1
<?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
}