Automattic\WooCommerce\Internal\Admin
SystemStatusReport::render_notes
Render the notes row.
Метод класса: SystemStatusReport{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$SystemStatusReport = new SystemStatusReport(); $SystemStatusReport->render_notes();
Код SystemStatusReport::render_notes() SystemStatusReport::render notes WC 10.5.2
<?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
}