Home Forums ACF PRO Get the $post_id in render_field method Reply To: Get the $post_id in render_field method

  • @acf-support

    To answer your question about it being impossible to use $_GET to get the IDs, it is not hard to do for some things like posts and terms, but for widgets it is hard, because there is no $_GET variable available (when JavaScript is enabled). You would basically have to add a filter to every widget that sets a global variable or something similar. But since ACF is already doing all the work, why not share it?