Categories
CMS Development Wordpress

Query posts ordering by title, but ignore ” chars

I use following function to get my custom posts ordering by title $posts = get_posts( array( “orderby”=> “title”, “order” => “ASC”, “post_type” => “my-custom-post-type”, “posts_per_page” => -1, “fields” => “ids”, “meta_query” => array( array( “key” => “ams_park_id”, “value” => get_the_ID(), ) ) ) ); And it orders by title, the problem is that i have […]