WPSEO_Database_Proxy::register_table
Registers the table with WordPress.
Метод класса: WPSEO_Database_Proxy{}
Хуков нет.
Возвращает
void. Ничего (null).
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->register_table();
Код WPSEO_Database_Proxy::register_table() WPSEO Database Proxy::register table Yoast 28.6
protected function register_table() {
$table_name = $this->table_name;
$full_table_name = $this->get_table_name();
$this->database->$table_name = $full_table_name;
if ( $this->is_multisite_table ) {
$this->database->ms_global_tables[] = $table_name;
return;
}
$this->database->tables[] = $table_name;
}