Problem with custom WordPress Rest API search route with query parameters

It isn’t reading the acceptable image type parameter because there is no code to read it, and the acceptable image types have been hardcoded here: array( ‘key’ => ‘accepted_image_type’, ‘value’ => array(‘print’, ‘glass-plate’), ‘compare’ => ‘IN’, ), Much like you did here for the search parameter: $search_query = $data[‘s’]; It needs to do the same … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)