Preventing a double hit request
When I’m developing a site I always have an st_error_log( $var )
function that writes to an error log so I can dump variable data there to figure what’s going. On three separate occasions now I’ve had a wtf moment when it seems as though a filter or action has been firing twice for a single page load.