avoid_blog_page_permalink_collision


avoid_blog_page_permalink_collision ( $data, $postarr )

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

Description

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_sample_permalink_html, permalink_link, get_sample_permalink, get_permalink, get_the_permalink

Top Google Results

User discussions

wpseek mobile