WC_Admin_Status::output_tables_info()
Prints table info if a base table is not present.
Method of the class: WC_Admin_Status{}
No Hooks.
Returns
null
. Nothing (null).
Usage
$result = WC_Admin_Status::output_tables_info();
WC_Admin_Status::output_tables_info() WC Admin Status::output tables info code WC 9.8.5
<?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 }