Core Function
View Source on Trac ↗ avoid_blog_page_permalink_collision()
avoid_blog_page_permalink_collision( mixed $data, mixed $postarr ) Avoids a collision between a site slug and a permalink slug.
Parameters 2 required
| Name / Type | Description |
|---|---|
| $data array | An array of post data. Required |
| $postarr array | An array of posts. Not currently used. Required |
Return Value
(array)
The new array of post data after checking for collisions.
Function Information
Since Version
3.0.0
Source File
wp-admin/includes/ms.php
Advertisement