Changeset 49066
- Timestamp:
- 09/28/2020 11:10:01 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/link-template.php
r48995 r49066 1209 1209 * 1210 1210 * @param string $post_type Post type. 1211 * @return string|false The post type archive permalink. 1211 * @return string|false The post type archive permalink. False if the post type 1212 * does not exist or does not have an archive. 1212 1213 */ 1213 1214 function get_post_type_archive_link( $post_type ) { … … 1264 1265 * @since 3.1.0 1265 1266 * 1266 * @param string $post_type Post type 1267 * @param string $post_type Post type. 1267 1268 * @param string $feed Optional. Feed type. Possible values include 'rss2', 'atom'. 1268 1269 * Default is the value of get_default_feed(). 1269 * @return string|false The post type feed permalink. 1270 * @return string|false The post type feed permalink. False if the post type 1271 * does not exist or does not have an archive. 1270 1272 */ 1271 1273 function get_post_type_archive_feed_link( $post_type, $feed = '' ) { … … 1354 1356 * @param int|WP_Post $id Optional. Post ID or post object. Default is the global `$post`. 1355 1357 * @param string $context Optional. How to output the '&' character. Default '&'. 1356 * @return string|null The edit post link for the given post. null if the post type is invalid or does1357 * not allow an editing UI.1358 * @return string|null The edit post link for the given post. Null if the post type does not exist 1359 * or does not allow an editing UI. 1358 1360 */ 1359 1361 function get_edit_post_link( $id = 0, $context = 'display' ) {
Note: See TracChangeset
for help on using the changeset viewer.