Changeset 46833
- Timestamp:
- 12/09/2019 11:49:15 AM (5 years ago)
- Location:
- branches/5.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.3
-
branches/5.3/src/wp-content/themes/twentytwenty/inc/template-tags.php
r46614 r46833 264 264 * @type string 'post-date' 265 265 * @type string 'comments' 266 * @type string 266 * @type string 'sticky' 267 267 * } 268 268 */ 269 $post_meta 269 $post_meta = apply_filters( 270 270 'twentytwenty_post_meta_location_single_top', 271 271 array( … … 276 276 ) 277 277 ); 278 278 279 $post_meta_wrapper_classes = ' post-meta-single post-meta-single-top'; 279 280 … … 291 292 * } 292 293 */ 293 $post_meta 294 $post_meta = apply_filters( 294 295 'twentytwenty_post_meta_location_single_bottom', 295 296 array( … … 297 298 ) 298 299 ); 300 299 301 $post_meta_wrapper_classes = ' post-meta-single post-meta-single-bottom'; 300 302 … … 327 329 * 328 330 * @since 1.0.0 331 * @since Twenty Twenty 1.1 Added the `$post_meta` and `$location` parameters. 329 332 * 330 * @param int $post_ID Post ID. 333 * @param int $post_id Post ID. 334 * @param array $post_meta An array of post meta information. 335 * @param string $location The location where the meta is shown. 336 * Accepts 'single-top' or 'single-bottom'. 331 337 */ 332 do_action( 'twentytwenty_start_of_post_meta_list', $post_id );338 do_action( 'twentytwenty_start_of_post_meta_list', $post_id, $post_meta, $location ); 333 339 334 340 // Author. … … 450 456 * 451 457 * @since 1.0.0 458 * @since Twenty Twenty 1.1 Added the `$post_meta` and `$location` parameters. 452 459 * 453 * @param int $post_ID Post ID. 460 * @param int $post_id Post ID. 461 * @param array $post_meta An array of post meta information. 462 * @param string $location The location where the meta is shown. 463 * Accepts 'single-top' or 'single-bottom'. 454 464 */ 455 do_action( 'twentytwenty_end_of_post_meta_list', $post_id );465 do_action( 'twentytwenty_end_of_post_meta_list', $post_id, $post_meta, $location ); 456 466 457 467 ?>
Note: See TracChangeset
for help on using the changeset viewer.