Access current post
By Jim Robert Nilsson, 8 years ago. Last reply by Andrew Misplon, 8 years ago
Hi there, is there any way to access the current post from a SiteOrigin_Widget child class? I want to pass some info from the current post to a javascript tied to the widget using wp_localize_script. something like: