Automattic\WooCommerce\Internal\Admin

SystemStatusReport::render_notes()publicWC 1.0

Render the notes row.

Метод класса: SystemStatusReport{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of SystemStatusReport::render_notes() WC 7.1.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
}