Title: return 0
Last modified: August 21, 2016

---

# return 0

 *  Resolved [d4b](https://wordpress.org/support/users/d4b/)
 * (@d4b)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/return-0/)
 * How make this :
    `if ( $r[‘return’] === ‘id’) { return $post->ID; } else { return
   0;}
 * [http://wordpress.org/plugins/ambrosite-nextprevious-post-link-plus/](http://wordpress.org/plugins/ambrosite-nextprevious-post-link-plus/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [ambrosite](https://wordpress.org/support/users/ambrosite/)
 * (@ambrosite)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/return-0/#post-4391695)
 * I’m not sure why you would want to do that, but you can hack the plugin code.
   Just add the else clause after line 295 as per your example.

Viewing 1 replies (of 1 total)

The topic ‘return 0’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ambrosite-nextprevious-post-link-
   plus.svg)
 * [Ambrosite Next/Previous Post Link Plus](https://wordpress.org/plugins/ambrosite-nextprevious-post-link-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ambrosite-nextprevious-post-link-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ambrosite-nextprevious-post-link-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/ambrosite-nextprevious-post-link-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ambrosite-nextprevious-post-link-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ambrosite-nextprevious-post-link-plus/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [ambrosite](https://wordpress.org/support/users/ambrosite/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/return-0/#post-4391695)
 * Status: resolved