avoid_blog_page_permalink_collision ( $data, $postarr )

  • (array) data An array of post data.
  • (array) postarr An array of posts. Not currently used.
  • (array) The new array of post data after checking for collisions.
Defined at:


Avoids a collision between a site slug and a permalink slug.In a subdirectory installation this will make sure that a site and a post do not use the same subdirectory by checking for a site with the same name as a new post.

Related Functions

get_blog_permalink, get_sample_permalink_html, permalink_link, get_sample_permalink, get_permalink

Top Google Results

User discussions

wpseek mobile