Automattic\WooCommerce\Internal\DataStores\StockNotifications
StockNotificationsMetaDataStore::get_object_id_field
Returns the name of the field/column used for associating meta with objects.
Метод класса: StockNotificationsMetaDataStore{}
Хуков нет.
Возвращает
string.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_object_id_field();
Код StockNotificationsMetaDataStore::get_object_id_field() StockNotificationsMetaDataStore::get object id field WC 11.2.2
protected function get_object_id_field() {
return 'notification_id';
}