Home Forums Backend Issues (wp-admin) Using fields outside the loop Reply To: Using fields outside the loop

  • Thanks Elliot – I was just coming back to explain that I forgot to add the post_id to my example, but obviously it doesn’t affect the info from your first paragraph.

    I have got a system working now, but maybe you could clarify something for me: Because of WP’s use of hooks (like in this case), if you want to work with variables between hooked functions, you basically have to assign them to global variables – is that correct, or is there a better way?