Use array into a If for post->ID (Wordpress)

前端 未结 0 1835
抹茶落季
抹茶落季 2020-12-31 17:02

how can i simplifly this if using an array

                    if( $post->ID == 31290 || $post->ID == 36930 || $post->ID == 31413 || $post->ID ==          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题