Skip to content

Commit e74dfb7

Browse files
committed
Corrected docs
1 parent 2676c70 commit e74dfb7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

includes/class-dco-ca.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -669,6 +669,13 @@ public function disable_gallery_image_size() {
669669
*/
670670
public function get_gallery_image_size( $size ) {
671671
if ( 'dco_ca_admin_thumbnail_size' === current_filter() ) {
672+
/**
673+
* Filters the attachment image size in the gallery for the admin panel.
674+
*
675+
* @since 2.0.0
676+
*
677+
* @param string $size The thumbnail size of the attachment image.
678+
*/
672679
return apply_filters( 'dco_ca_admin_gallery_size', 'thumbnail' );
673680
}
674681

0 commit comments

Comments
 (0)