WPSEO_Database_Proxy::is_table_registered()
Checks if the table has been registered with WordPress.
Метод класса: WPSEO_Database_Proxy{}
Хуков нет.
Возвращает
true|false
. True if the table is registered, false otherwise.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->is_table_registered();
Код WPSEO_Database_Proxy::is_table_registered() WPSEO Database Proxy::is table registered Yoast 24.6
protected function is_table_registered() { if ( $this->is_multisite_table ) { return in_array( $this->table_name, $this->database->ms_global_tables, true ); } return in_array( $this->table_name, $this->database->tables, true ); }