- This topic has 6 replies, 2 voices, and was last updated 1 year, 5 months ago by .
-
Topic
-
Hi there, because there isn’t a “Meta Box Block” Forum yet, tagging this in General.
I want to get info on the Active Post WHEN EDITING, so when editing the blocks.
I’ve tried a few options that usually work for me, like
get_the_ID()
,filter_input( INPUT_GET, 'post', FILTER_SANITIZE_NUMBER_INT )
but they don’t seem to work, because this is an ajax call probably.Any possibility to let me get to the currently editing post ID?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.