Changeset 37504
- Timestamp:
- 05/22/2016 06:30:23 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r37487 r37504 198 198 199 199 /** 200 * Filter the attached file based on the given ID.200 * Filters the attached file based on the given ID. 201 201 * 202 202 * @since 2.1.0 … … 225 225 226 226 /** 227 * Filter the path to the attached file to update.227 * Filters the path to the attached file to update. 228 228 * 229 229 * @since 2.1.0 … … 260 260 261 261 /** 262 * Filter the relative path to an uploaded file.262 * Filters the relative path to an uploaded file. 263 263 * 264 264 * @since 2.9.0 … … 578 578 579 579 /** 580 * Filter the post status.580 * Filters the post status. 581 581 * 582 582 * @since 4.4.0 … … 1007 1007 1008 1008 /** 1009 * Filter the arguments for registering a post type.1009 * Filters the arguments for registering a post type. 1010 1010 * 1011 1011 * @since 4.4.0 … … 1476 1476 1477 1477 /** 1478 * Filter the labels of a specific post type.1478 * Filters the labels of a specific post type. 1479 1479 * 1480 1480 * The dynamic portion of the hook name, `$post_type`, refers to … … 2039 2039 2040 2040 /** 2041 * Filter the value of a specific post field to edit.2041 * Filters the value of a specific post field to edit. 2042 2042 * 2043 2043 * The dynamic portion of the hook name, `$field`, refers to the post … … 2052 2052 2053 2053 /** 2054 * Filter the value of a specific post field to edit.2054 * Filters the value of a specific post field to edit. 2055 2055 * 2056 2056 * The dynamic portion of the hook name, `$field_no_prefix`, refers to … … 2079 2079 2080 2080 /** 2081 * Filter the value of a specific post field before saving.2081 * Filters the value of a specific post field before saving. 2082 2082 * 2083 2083 * The dynamic portion of the hook name, `$field`, refers to the post … … 2091 2091 2092 2092 /** 2093 * Filter the value of a specific field before saving.2093 * Filters the value of a specific field before saving. 2094 2094 * 2095 2095 * The dynamic portion of the hook name, `$field_no_prefix`, refers … … 2105 2105 2106 2106 /** 2107 * Filter the value of a specific post field before saving.2107 * Filters the value of a specific post field before saving. 2108 2108 * 2109 2109 * The dynamic portion of the hook name, `$field`, refers to the post … … 2122 2122 2123 2123 /** 2124 * Filter the value of a specific post field for display.2124 * Filters the value of a specific post field for display. 2125 2125 * 2126 2126 * The dynamic portion of the hook name, `$field`, refers to the post … … 2342 2342 2343 2343 /** 2344 * Filter the default list of post mime types.2344 * Filters the default list of post mime types. 2345 2345 * 2346 2346 * @since 2.5.0 … … 2487 2487 2488 2488 /** 2489 * Filter whether a post deletion should take place.2489 * Filters whether a post deletion should take place. 2490 2490 * 2491 2491 * @since 4.4.0 … … 3087 3087 3088 3088 /** 3089 * Filter whether the post should be considered "empty".3089 * Filters whether the post should be considered "empty". 3090 3090 * 3091 3091 * The post is considered "empty" if both: … … 3255 3255 3256 3256 /** 3257 * Filter the post parent -- used to check for and prevent hierarchy loops.3257 * Filters the post parent -- used to check for and prevent hierarchy loops. 3258 3258 * 3259 3259 * @since 3.1.0 … … 3309 3309 if ( 'attachment' === $post_type ) { 3310 3310 /** 3311 * Filter attachment post data before it is updated in or added to the database.3311 * Filters attachment post data before it is updated in or added to the database. 3312 3312 * 3313 3313 * @since 3.9.0 … … 3319 3319 } else { 3320 3320 /** 3321 * Filter slashed post data just before it is inserted into the database.3321 * Filters slashed post data just before it is inserted into the database. 3322 3322 * 3323 3323 * @since 2.7.0 … … 3709 3709 3710 3710 /** 3711 * Filter whether the post slug would make a bad attachment slug.3711 * Filters whether the post slug would make a bad attachment slug. 3712 3712 * 3713 3713 * @since 3.1.0 … … 3737 3737 3738 3738 /** 3739 * Filter whether the post slug would make a bad hierarchical post slug.3739 * Filters whether the post slug would make a bad hierarchical post slug. 3740 3740 * 3741 3741 * @since 3.1.0 … … 3783 3783 3784 3784 /** 3785 * Filter whether the post slug would be bad as a flat slug.3785 * Filters whether the post slug would be bad as a flat slug. 3786 3786 * 3787 3787 * @since 3.1.0 … … 3803 3803 3804 3804 /** 3805 * Filter the unique post slug.3805 * Filters the unique post slug. 3806 3806 * 3807 3807 * @since 3.3.0 … … 4044 4044 4045 4045 /** 4046 * Filter the new ping URL to add for the given post.4046 * Filters the new ping URL to add for the given post. 4047 4047 * 4048 4048 * @since 2.0.0 … … 4081 4081 4082 4082 /** 4083 * Filter the list of enclosures already enclosed for the given post.4083 * Filters the list of enclosures already enclosed for the given post. 4084 4084 * 4085 4085 * @since 2.0.0 … … 4108 4108 4109 4109 /** 4110 * Filter the list of already-pinged URLs for the given post.4110 * Filters the list of already-pinged URLs for the given post. 4111 4111 * 4112 4112 * @since 2.0.0 … … 4134 4134 4135 4135 /** 4136 * Filter the list of URLs yet to ping for the given post.4136 * Filters the list of URLs yet to ping for the given post. 4137 4137 * 4138 4138 * @since 2.0.0 … … 4472 4472 4473 4473 /** 4474 * Filter the URI for a page.4474 * Filters the URI for a page. 4475 4475 * 4476 4476 * @since 4.4.0 … … 4767 4767 4768 4768 /** 4769 * Filter the retrieved list of pages.4769 * Filters the retrieved list of pages. 4770 4770 * 4771 4771 * @since 2.1.0 … … 4978 4978 4979 4979 /** 4980 * Filter the attachment meta data.4980 * Filters the attachment meta data. 4981 4981 * 4982 4982 * @since 2.1.0 … … 5004 5004 5005 5005 /** 5006 * Filter the updated attachment meta data.5006 * Filters the updated attachment meta data. 5007 5007 * 5008 5008 * @since 2.1.0 … … 5068 5068 5069 5069 /** 5070 * Filter the attachment URL.5070 * Filters the attachment URL. 5071 5071 * 5072 5072 * @since 2.1.0 … … 5102 5102 if ( !empty($imagedata['thumb']) && ($thumbfile = str_replace(basename($file), $imagedata['thumb'], $file)) && file_exists($thumbfile) ) { 5103 5103 /** 5104 * Filter the attachment thumbnail file path.5104 * Filters the attachment thumbnail file path. 5105 5105 * 5106 5106 * @since 2.1.0 … … 5139 5139 5140 5140 /** 5141 * Filter the attachment thumbnail URL.5141 * Filters the attachment thumbnail URL. 5142 5142 * 5143 5143 * @since 2.1.0 … … 5250 5250 if ( !is_array($icon_files) ) { 5251 5251 /** 5252 * Filter the icon directory path.5252 * Filters the icon directory path. 5253 5253 * 5254 5254 * @since 2.0.0 … … 5259 5259 5260 5260 /** 5261 * Filter the icon directory URI.5261 * Filters the icon directory URI. 5262 5262 * 5263 5263 * @since 2.0.0 … … 5268 5268 5269 5269 /** 5270 * Filter the list of icon directory URIs.5270 * Filters the list of icon directory URIs. 5271 5271 * 5272 5272 * @since 2.5.0 … … 5328 5328 5329 5329 /** 5330 * Filter the mime type icon.5330 * Filters the mime type icon. 5331 5331 * 5332 5332 * @since 2.1.0 … … 5435 5435 5436 5436 /** 5437 * Filter the capability to read private posts for a custom post type5437 * Filters the capability to read private posts for a custom post type 5438 5438 * when generating SQL for getting posts by author. 5439 5439 * … … 5504 5504 function get_lastpostdate( $timezone = 'server', $post_type = 'any' ) { 5505 5505 /** 5506 * Filter the date the last post was published.5506 * Filters the date the last post was published. 5507 5507 * 5508 5508 * @since 2.3.0 … … 5556 5556 5557 5557 /** 5558 * Filter the date the last post was modified.5558 * Filters the date the last post was modified. 5559 5559 * 5560 5560 * @since 2.3.0
Note: See TracChangeset
for help on using the changeset viewer.