; $total = $wpdb->get_var( "SELECT FOUND_ROWS()" ); $max_pages = ceil( $total / $per_page ); if ( $page > $max_pages && $total > 0 ) { return new WP_Error( 'rest_post_invalid_page_number', __( 'The page number requested is larger than the number of pages available.' ), array( 'status' => 400 ) ); } $response = rest_ensure_response( $featured_image_ids ); $response->header( 'X-WP-Total', (int) $total ); $response->header( 'X-WP-TotalPages', (int) $max_pages ); $request_params = $request->get_query_params(); $base = add_query_arg( $request_params, rest_url( $this->namespace . '/featuredimages' ) ); if ( $page > 1 ) { $prev_page = $page - 1; if ( $prev_page > $max_pages ) { $prev_page = $max_pages; } $prev_link = add_query_arg( 'page', $prev_page, $base ); $response->link_header( 'prev', $prev_link ); } if ( $max_pages > $page ) { $next_page = $page + 1; $next_link = add_query_arg( 'page', $next_page, $base ); $response->link_header( 'next', $next_link ); } return $response; } /** * Check to see if the current user is allowed to use this endpoint. * * @since 3.0.0 * * @param WP_REST_Request $request Full data about the request. * * @return bool Whether the current user has permission to regenerate thumbnails. */ public function permissions_check( $request ) { return current_user_can( RegenerateThumbnails()->capability ); } /** * Returns whether a variable is an array or not. This is needed because 3 arguments are * passed to validation callbacks but is_array() only accepts one argument. * * @since 3.0.0 * * @see https://core.trac.wordpress.org/ticket/34659 * * @param mixed $param The parameter value to validate. * @param WP_REST_Request $request The REST request. * @param string $key The parameter name. * * @return bool Whether the parameter is an array or not. */ public function is_array( $param, $request, $key ) { return is_array( $param ); } } Kem dưỡng da trẻ hóa, ngừa mụn Obagi 360 Retinol 1.0% 28g - 123 Khỏe - Thực phẩm chức năng

Kem dưỡng da trẻ hóa, ngừa mụn Obagi 360 Retinol 1.0% 28g

Category:

Kem chống lão hóa Obagi Retinol 1.0 với công thức ưu việt chứa 1% Retinol tinh khiết được ứng dụng công nghệ vận chuyển “Entrapped Retinol” giúp tối ưu hoá hiệu quả của Retinol trên da cũng như hỗ trợ da đáp ứng với hoạt chất này. Công thức Obagi Retinol 1.0 còn phối hợp với các hoạt chất dưỡng…

Reviews

There are no reviews yet.

Be the first to review “Kem dưỡng da trẻ hóa, ngừa mụn Obagi 360 Retinol 1.0% 28g”

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *