Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $obj_id = 0;
- if( is_home() ){
- $obj_id = '-1';
- }elseif( !empty( $obj->ID ) ){
- $obj_id = $obj->ID;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement