Third-Party Mode Migration
Superdav AI Agent v1.12.0 changes how third-party abilities are handled. Third-party mode now defaults to auto, enabling native WordPress Abilities API integration on WordPress 7.0+ without manual configuration.
What Changed?
Before v1.12.0
Third-party abilities required manual configuration:
- You had to explicitly enable "third-party mode"
- Abilities were loaded from a custom registry
- Integration with WordPress Abilities API was optional
- Legacy mode was the default
After v1.12.0
Third-party abilities work automatically:
- Third-party mode defaults to "auto"
- Abilities integrate natively with WordPress Abilities API
- No manual configuration needed on WordPress 7.0+
- Legacy mode is still available for older WordPress versions
Who Is Affected?
New Installations (WordPress 7.0+)
No action required. Third-party mode is automatically set to "auto", and abilities work out of the box.
Existing Installations
Your settings are preserved. If you were using:
- Legacy mode: You remain in legacy mode (no change)
- Manual third-party mode: You remain in manual mode (no change)
- Auto mode: You continue with auto mode (no change)
WordPress Versions Before 7.0
Legacy mode is still available. If you're on WordPress 6.x or earlier:
- Third-party mode defaults to "legacy"
- You can manually enable third-party mode if desired
- Upgrade to WordPress 7.0+ to use native Abilities API
Understanding the Modes
Auto Mode (New Default)
Auto mode uses native WordPress Abilities API integration:
- Abilities are registered via WordPress hooks
- Full compatibility with WordPress 7.0+ Abilities API
- Automatic discovery of third-party abilities
- No manual configuration needed
When to use: WordPress 7.0+ with third-party abilities
Manual Mode
Manual mode requires explicit configuration:
- You specify which third-party abilities to load
- Useful for testing or selective ability loading
- Requires editing configuration files
- More control, but more setup
When to use: Testing, selective ability loading, or custom configurations
Legacy Mode
Legacy mode uses the old third-party ability system:
- Custom ability registry (not WordPress Abilities API)
- Backward compatible with older WordPress versions
- No native WordPress integration
- Deprecated but still supported
When to use: WordPress 6.x or earlier, or when you need legacy compatibility
Checking Your Current Mode
Via Admin Panel
- Go to WordPress Admin → Superdav AI Agent → Settings
- Look for Third-Party Mode setting
- You'll see your current mode and options to change it
Via Code
$mode = get_option( 'superdav_third_party_mode' );
echo $mode; // 'auto', 'manual', or 'legacy'
Changing Your Mode
Switch to Auto Mode
If you're on WordPress 7.0+ and want to use auto mode:
- Go to Superdav AI Agent → Settings
- Find Third-Party Mode
- Select Auto (WordPress Abilities API)
- Click Save
Superdav AI Agent will automatically discover and register third-party abilities.
Switch to Manual Mode
If you want to manually control which abilities load:
- Go to Superdav AI Agent → Settings
- Find Third-Party Mode
- Select Manual
- Click Save
- Edit your configuration file to specify which abilities to load
Switch to Legacy Mode
If you need legacy compatibility:
- Go to Superdav AI Agent → Settings
- Find Third-Party Mode
- Select Legacy
- Click Save
Benefits of Auto Mode
Automatic Discovery
Abilities are automatically discovered from:
- Installed plugins
- Active theme
- Must-use plugins
- Drop-in plugins
No manual registration needed.
Native Integration
Abilities integrate with WordPress Abilities API:
- Consistent with WordPress core
- Works with WordPress admin
- Compatible with other plugins using Abilities API
- Future-proof as WordPress evolves
Simplified Management
- No configuration files to edit
- No manual ability registration
- Ability Visibility controls work automatically
- Admin notices alert you to unclassified abilities
Better Performance
- Abilities are cached
- Lazy-loaded on demand
- Optimized for WordPress 7.0+
Migration Path
If You're on WordPress 6.x
- Upgrade to WordPress 7.0+ (when ready)
- Update Superdav AI Agent to v1.12.0+
- Change third-party mode to Auto (optional; legacy mode still works)
- Review ability visibility to ensure proper access controls
If You're on WordPress 7.0+
- Update Superdav AI Agent to v1.12.0+
- Verify third-party mode is set to Auto (it should be by default)
- Review ability visibility to ensure proper access controls
- Test third-party abilities to confirm they work