Use GFAPI in custom column?
Sorry for the dumb question, but: when I try to use the Gravity Forms API (using
$entry_count = GFAPI::count_entries($gform, $search_criteria);) inside a custom Admin Column, I keep getting Fatal error: Uncaught Error: Class ‘zwscols\Column\Free\GFAPI’ not found.
Is the code for a custom admin column executed before Gravity Forms and its API becomes available – and if so, is there a way around this? Or did I just make a dumb beginners error re: object-oriented PHP handling of API calls?
You must be logged in to reply to this topic.