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

    _get_wcf_post_id()

    Returns step id.


    Source

    File: classes/class-cartflows-functions.php

    function _get_wcf_post_id() {
    
    	global $post;
    
    	if ( isset( $post->ID ) ) {
    		return $post->ID;
    	}
    
    	return 0;
    }
    

    Expand full source code Collapse full source code


    Changelog

    Changelog
    Version Description
    1.0.0 Introduced.