LLMS_Abstract_Database_Store::get_primary_key()

Retrieve the primary key column name


Return Return

(string)


Top ↑

Source Source

File: includes/abstracts/llms.abstract.database.store.php

	protected function get_primary_key() {
		$primary_key = array_keys( $this->primary_key );
		return preg_replace( '/[^a-zA-Z0-9_]/', '', $primary_key[0] );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.15.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.