WC_Admin_Status::output_tables_info()
Prints table info if a base table is not present.
Метод класса: WC_Admin_Status{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$result = WC_Admin_Status::output_tables_info();
Код WC_Admin_Status::output_tables_info() WC Admin Status::output tables info WC 9.5.1
<?php private static function output_tables_info() { $missing_tables = WC_Install::verify_base_tables( false ); if ( 0 === count( $missing_tables ) ) { return; } ?> <br> <strong style="color:#a00;"> <span class="dashicons dashicons-warning"></span> <?php echo esc_html( sprintf( // translators: Comma separated list of missing tables. __( 'Missing base tables: %s. Some WooCommerce functionality may not work as expected.', 'woocommerce' ), implode( ', ', $missing_tables ) ) ); ?> </strong> <?php }