Filter by type:
Search
Skip to content
Browse: Home / Functions / _get_wcf_checkout_id()

_get_wcf_checkout_id()

Returns checkout ID.


Return

(int/bool)


Source

File: classes/class-cartflows-functions.php

function _get_wcf_checkout_id() {

	if ( _is_wcf_checkout_type() ) {

		global $post;

		return $post->ID;
	}

	return false;
}

Expand full source code Collapse full source code


Related

Uses

Uses
Uses Description
classes/class-cartflows-functions.php: _is_wcf_checkout_type()

Check if page is cartflow checkout.


Changelog

Changelog
Version Description
1.0.0 Introduced.