v0.2.6 - Critical Fix: ACF Fields Not Appearing
π§ Critical Fix: ACF Fields Not Appearing
This release fixes the critical issue where ACF field groups were not registering, causing fields to not appear in WordPress admin and showing as raw shortcodes in Bricks Builder.
The Problem
Symptoms:
- ACF fields didn't appear when editing videos in WordPress admin
- Bricks Builder showed raw shortcodes like
{acf_nvm_published_at: d/m/Y}instead of actual values - ACF diagnostic showed "No Nova Video Manager field groups found"
Root Cause:
Hook timing issue - the plugin's init hook runs at priority 15 (to wait for ACF to load), but ACF's acf/init hook fires at priority 5. By the time our plugin tried to add an action to acf/init, that hook had already fired and wouldn't fire again.
The Solution
Now checks if acf/init has already fired using did_action():
- β If already fired β register fields immediately
- β If not yet fired β add hook as normal
This ensures fields are always registered regardless of initialization order.
What's Fixed
β
ACF fields now appear in WordPress admin when editing videos
β
ACF field values display correctly in Bricks Builder (no more raw shortcodes)
β
All video metadata fields accessible via REST API with show_in_rest enabled
β
Community members relationship field working properly
Available ACF Fields
Video Metadata:
nvm_youtube_id- YouTube Video IDnvm_youtube_url- YouTube URLnvm_duration- Video durationnvm_published_at- Published datenvm_view_count- View countnvm_like_count- Like countnvm_comment_count- Comment countnvm_last_synced- Last sync timenvm_description_modified- Description modified flag
Community:
nvm_featured_members- Featured community members (relationship field)
Testing
After updating to v0.2.6:
- Edit a video post - you should see the "Video Metadata" and "Community Members" field groups
- Run the diagnostic at
https://yoursite.com/wp-content/plugins/Nova-Video-Manager/acf-diagnostic.php- should show 2 Nova Video Manager field groups - Use in Bricks Builder - ACF fields should now display actual values instead of shortcodes
Upgrade Notes
- No database changes required
- No settings need to be reconfigured
- Simply update and the fields will appear
- If you moved from local to live, remember to re-enter your OAuth Client Secret
Previous Releases:
- v0.2.5 - Debug logging
- v0.2.4 - REST API support
- v0.2.3 - OAuth improvements
- v0.2.2 - Videos menu fix
- v0.2.1 - Settings menu fix
- v0.2.0 - Initial release with Members feature