WP_Ability::get_input_schema(): array<string, In this article Table of ContentsReturn Source Related Changelog ↑ Back to top Retrieves the input schema for the ability. Return array<string, mixed> The input schema for the ability. Source public function get_input_schema(): array { return $this->input_schema; } View all references View on Trac View on GitHub Related Used byDescriptionWP_Ability::normalize_input()wp-includes/abilities-api/class-wp-ability.phpNormalizes the input for the ability, applying the default value from the input schema when needed. WP_Ability::validate_input()wp-includes/abilities-api/class-wp-ability.phpValidates input data against the input schema. WP_Ability::invoke_callback()wp-includes/abilities-api/class-wp-ability.phpInvokes a callable, ensuring the input is passed through only if the input schema is defined. Changelog VersionDescription6.9.0Introduced. User Contributed Notes You must log in before being able to contribute a note or feedback.
User Contributed Notes
You must log in before being able to contribute a note or feedback.