daily pastebin goal
61%
SHARE
TWEET

Untitled

a guest Sep 24th, 2018 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. brighttalk_callback( $arg1, $arg2, $post ) {
  2.     if ( $post instanceof WP_Post ) {
  3.         // This is an object
  4.         // We can use $post->ID to get the ID
  5.     } else {
  6.         // This is an ID
  7.         // We can use $post to get the ID
  8.     }
  9. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top