| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * View Transitions API. 4 * 5 * @package WordPress 6 * @subpackage View Transitions 7 * @since 7.0.0 8 */ 9 10 /** 11 * Enqueues View Transitions CSS for the admin. 12 * 13 * @since 7.0.0 14 */ 15 function wp_enqueue_view_transitions_admin_css(): void { 16 wp_enqueue_style( 'wp-view-transitions-admin' ); 17 } 18 19 /** 20 * Gets the CSS for View Transitions in the admin. 21 * 22 * @since 7.0.0 23 * 24 * @return string The CSS. 25 */ 26 function wp_get_view_transitions_admin_css(): string { 27 $affix = SCRIPT_DEBUG ? '' : '.min'; 28 $path = ABSPATH . "wp-admin/css/view-transitions{$affix}.css"; 29 return file_get_contents( $path ); 30 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Sun Jun 14 08:20:09 2026 | Cross-referenced by PHPXref |