Revision 253 is a pre-publication revision. (Viewing current revision instead.)

Check if the post content is empty

[php]if($post->post_content != "") { // Do something } else { // Do something else }[/php]

Revisions

Revision Differences

August 15, 2012 @ 04:13:23Current Revision
Content
Deleted: Added: [php]if($post- >post_content != "") { // Do something } else { // Do something else }[/php]

Note: Spaces may be added to comparison text to allow better line wrapping.

No comments yet.

Leave a Reply