Yoast\WP\Lib
Model::get_id_column_name()
Return the ID column name to use for this class. If it is not set on the class, returns null.
Метод класса: Model{}
Хуков нет.
Возвращает
Строку|null
. The ID column name.
Использование
$result = Model::get_id_column_name( $class_name );
- $class_name(строка) (обязательный)
- The class name to get the ID column for.
Код Model::get_id_column_name() Model::get id column name Yoast 24.1
protected static function get_id_column_name( $class_name ) { return static::get_static_property( $class_name, 'id_column', static::DEFAULT_ID_COLUMN ); }