????JFIF??H?H????Exif??MM?*???? ??3????V?????3??????3?(????????????????????3?????
Server IP : 172.67.192.254 / Your IP : 18.223.159.143 Web Server : LiteSpeed System : Linux fr-int-web1270.main-hosting.eu 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : u217304719 ( 217304719) PHP Version : 8.1.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/u217304719/domains/mymagnolia.ma/public_html/wp-includes/blocks/ |
Upload File : |
<?php /** * Server-side rendering of the `core/query-pagination` block. * * @package WordPress */ /** * Renders the `core/query-pagination` block on the server. * * @since 5.9.0 * * @param array $attributes Block attributes. * @param string $content Block default content. * * @return string Returns the wrapper for the Query pagination. */ function render_block_core_query_pagination( $attributes, $content ) { if ( empty( trim( $content ) ) ) { return ''; } $classes = ( isset( $attributes['style']['elements']['link']['color']['text'] ) ) ? 'has-link-color' : ''; $wrapper_attributes = get_block_wrapper_attributes( array( 'aria-label' => __( 'Pagination' ), 'class' => $classes, ) ); return sprintf( '<nav %1$s>%2$s</nav>', $wrapper_attributes, $content ); } /** * Registers the `core/query-pagination` block on the server. * * @since 5.8.0 */ function register_block_core_query_pagination() { register_block_type_from_metadata( __DIR__ . '/query-pagination', array( 'render_callback' => 'render_block_core_query_pagination', ) ); } add_action( 'init', 'register_block_core_query_pagination' );