2019-03-13から1日間の記事一覧
Intuitive Custom Post Orderを有効にしても、デフォルトではWP-REST-APIの並び順に反映されない模様。functions.phpに以下のadd_filterを追記することで並び替えを有効化できます。 add_filter( "rest_post_query", function( $args, $request ) { $args['o…
Intuitive Custom Post Orderを有効にしても、デフォルトではWP-REST-APIの並び順に反映されない模様。functions.phpに以下のadd_filterを追記することで並び替えを有効化できます。 add_filter( "rest_post_query", function( $args, $request ) { $args['o…