Changeset 49693 for trunk/src/wp-includes/post-template.php
- Timestamp:
- 11/24/2020 09:25:46 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post-template.php
r49193 r49693 452 452 * @since 2.7.0 453 453 * 454 * @param string| array$class One or more classes to add to the class list.455 * @param int|WP_Post $post_id Optional. Post ID or post object. Defaults to the global `$post`.454 * @param string|string[] $class One or more classes to add to the class list. 455 * @param int|WP_Post $post_id Optional. Post ID or post object. Defaults to the global `$post`. 456 456 */ 457 457 function post_class( $class = '', $post_id = null ) { … … 1750 1750 * @since 4.7.0 Now works with any post type, not just pages. 1751 1751 * 1752 * @param string| array$template The specific template filename or array of templates to match.1752 * @param string|string[] $template The specific template filename or array of templates to match. 1753 1753 * @return bool True on success, false on failure. 1754 1754 */
Note: See TracChangeset
for help on using the changeset viewer.