[wp-hackers] value of $ID in wp-includes\post.php
Madalin Ignisca
madalin.ignisca at gmail.com
Mon Feb 10 13:36:45 UTC 2014
That variable exists if it is an already post and is created from
the $postarr array on extraction. It would be the ID of an existing post if
it is the case.
On Mon, Feb 10, 2014 at 3:21 PM, Utkarsh Dixit <utkarsh.dixit11 at gmail.com>wrote:
> Hi,
>
> In wordpress version 3.8 the file wp-includes\post.php in function
> wp_insert_post() there are lines around 2727 - 2728
>
> if ( ! empty( $ID ) )
> {
> .....
> }
>
> The variable $ID what does it denote here and where is it defined?
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
--
*Madalin Ignisca*
*web developer*
http://imadalin.ro/
More information about the wp-hackers
mailing list