Make WordPress Core

Changeset 59050


Ignore:
Timestamp:
09/18/2024 06:02:15 AM (6 months ago)
Author:
DrewAPicture
Message:

Docs: Add missing @since and @param annotations for the edit_post_{$field} hook doc.

Props mukesh27
See #50654

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r59048 r59050  
    29692969             *  - `edit_post_guid`
    29702970             *  - `edit_post_menu_order`
    2971              * @since
     2971             *
     2972             * @since 2.3.0
     2973             *
     2974             * @param mixed $value   Value of the post field.
     2975             * @param int   $post_id Post ID.
    29722976             */
    29732977            $value = apply_filters( "edit_post_{$field}", $value, $post_id );
Note: See TracChangeset for help on using the changeset viewer.