apply_filters( 'twentytwenty_get_elements_array', array )
- Since
- Twenty Twenty 1.0
Filters Twenty Twenty theme elements.
Compatibility
- WordPress
- since Twenty Twenty 1.0
- 6.7.10
- 6.8.11
- 6.9.10
- 7.0.7
- 7.1.3
Present in every tracked release (6.7.10 to 7.1.3).
Parameters
array- Array of elements.
Where this hook fires · 1
wp-content/themes/twentytwenty/functions.php:818twentytwenty_get_elements_array()
Source code
* Filters Twenty Twenty theme elements. * * @since Twenty Twenty 1.0 * * @param array Array of elements. */ return apply_filters( 'twentytwenty_get_elements_array', $elements );}Changelog
Introduced in Twenty Twenty 1.0. 2 changes between 6.7.10 and 7.1.3.
Signature, return type and hooks compared across 5 parsed releases.
7.0.7
Parameter
$elements added.verified against source7.0.7
Parameter `` removed.verified against source
Twenty Twenty 1.0
Twenty Twenty 1.0from the docblock
About this page
- Parsed data
- Generated from the wordpress-develop 6.8.11 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.