feat: jedes Divi-Tool und lit/content-create erklärt seine Divi-Fähigkeiten (RequiresDiviFeatures, DeclaresRequirements, FeatureSets); Tabelle Tool → Fähigkeiten als Test
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
e387d8d29e
commit
fdbda8012c
@@ -35,6 +35,15 @@ interface ContentComposer
|
||||
*/
|
||||
public function refusal(): ?WP_Error;
|
||||
|
||||
/**
|
||||
* IDs of the capabilities of the composing integration that composing a new entry needs (the Divi integration:
|
||||
* the DiviFeature values). lit/content-create hands them on as DeclaresRequirements; the core never interprets
|
||||
* them.
|
||||
*
|
||||
* @return list<string>
|
||||
*/
|
||||
public function requirements(): array;
|
||||
|
||||
/**
|
||||
* Validates the description for a new entry of $postType. Nothing is written.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user