Changeset 56112 for trunk/src/wp-includes/media.php
- Timestamp:
- 06/29/2023 05:32:35 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r56037 r56112 1964 1964 /** 1965 1965 * Filters the `loading` attribute value to add to an image. Default `lazy`. 1966 * This filter is added in for backward compatibility.1967 1966 * 1968 1967 * Returning `false` or an empty string will not add the attribute. 1969 1968 * Returning `true` will add the default value. 1970 * `true` and `false` usage supported for backward compatibility.1971 1969 * 1972 1970 * @since 5.5.0 1973 1971 * 1974 * @param string|bool $loading Current value for `loading` attribute for the image. 1972 * @param string|bool $value The `loading` attribute value. Returning a falsey value will result in 1973 * the attribute being omitted for the image. 1975 1974 * @param string $image The HTML `img` tag to be filtered. 1976 1975 * @param string $context Additional context about how the function was called or where the img tag is.
Note: See TracChangeset
for help on using the changeset viewer.