Changeset 34262
- Timestamp:
- 09/17/2015 09:05:44 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/post.php
r34178 r34262 578 578 * @since 2.0.0 579 579 * 580 * @param string $post_type A post type string, defaults to 'post'. 580 * @param string $post_type Optional. A post type string. Default 'post'. 581 * @param bool $create_in_db Optional. Whether to insert the post into database. Default false. 581 582 * @return WP_Post Post object containing all the default post data as attributes 582 583 */ … … 1256 1257 unset($post->filter); 1257 1258 1258 return $permalink; 1259 /** 1260 * Filter the sample permalink. 1261 * 1262 * @since 4.4.0 1263 * 1264 * @param string $permalink Sample permalink. 1265 * @param int $post_id Post ID. 1266 * @param string $title Post title. 1267 * @param string $name Post name (slug). 1268 * @param WP_Post $post Post object. 1269 */ 1270 return apply_filters( 'get_sample_permalink', $permalink, $post->ID, $title, $name, $post ); 1259 1271 } 1260 1272
Note: See TracChangeset
for help on using the changeset viewer.