post_exists Wordpress function


Description:

Determine if a post exists based on title, content, and date


Syntax:


Arguments:

(string) $title Post title
(string) $content Optional post content
(string) $date Optional post date


Return Type:

(int) Post ID if post exists, 0 otherwise.


Define At:

wp-admin/includes/post.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/post_exists


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×