Make WordPress Core


Ignore:
Timestamp:
09/25/2024 06:06:27 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Twenty Nineteen: Add missing documentation for helper function parameters.

Follow-up to [43808], [44149], [47214], [47242].

Props pitamdey.
Fixes #62112.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentynineteen/classes/class-twentynineteen-svg-icons.php

    r56547 r59090  
    2424        /**
    2525         * Gets the SVG code for a given icon.
     26         *
     27         * @param string $group The group of icons ('ui' or 'social').
     28         * @param string $icon  The specific icon to retrieve.
     29         * @param int    $size  The desired width and height for the SVG icon.
    2630         */
    2731        public static function get_svg( $group, $icon, $size ) {
    … …  
    4549        /**
    4650         * Detects the social network from a URL and returns the SVG code for its icon.
     51         *
     52         * @param string $uri  The URL of the social network link.
     53         * @param int    $size The desired width and height for the SVG icon.
    4754         */
    4855        public static function get_social_link_svg( $uri, $size ) {
Note: See TracChangeset for help on using the changeset viewer.