Skip to content

Commit

Permalink
Corrected docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yadenis committed Jan 4, 2021
1 parent 2676c70 commit e74dfb7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions includes/class-dco-ca.php
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,13 @@ public function disable_gallery_image_size() {
*/
public function get_gallery_image_size( $size ) {
if ( 'dco_ca_admin_thumbnail_size' === current_filter() ) {
/**
* Filters the attachment image size in the gallery for the admin panel.
*
* @since 2.0.0
*
* @param string $size The thumbnail size of the attachment image.
*/
return apply_filters( 'dco_ca_admin_gallery_size', 'thumbnail' );
}

Expand Down

0 comments on commit e74dfb7

Please sign in to comment.