- Timestamp:
- 03/04/2024 03:37:53 PM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/interactivity-api/interactivity-api.php
r57743 r57762 150 150 * Example: 151 151 * 152 * <div <?php echo data_wp_context( array( 'isOpen' => true, 'count' => 0 ) ); ?>>152 * <div <?php echo wp_interactivity_data_wp_context( array( 'isOpen' => true, 'count' => 0 ) ); ?>> 153 153 * 154 154 * @since 6.5.0 … … 159 159 * the store namespace if specified. 160 160 */ 161 function data_wp_context( array $context, string $store_namespace = '' ): string {161 function wp_interactivity_data_wp_context( array $context, string $store_namespace = '' ): string { 162 162 return 'data-wp-context=\'' . 163 163 ( $store_namespace ? $store_namespace . '::' : '' ) .
Note: See TracChangeset
for help on using the changeset viewer.