Example #1
0
 protected function get_post_by_guid($guid)
 {
     return cfd_get_post_by_guid($guid);
 }
Example #2
0
function cfd_get_post_id_by_guid($guid)
{
    $post_id = null;
    $post = cfd_get_post_by_guid($guid);
    if (!empty($post)) {
        $post_id = $post->ID;
    }
    return $post_id;
}