We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2676c70 commit e74dfb7Copy full SHA for e74dfb7
includes/class-dco-ca.php
@@ -669,6 +669,13 @@ public function disable_gallery_image_size() {
669
*/
670
public function get_gallery_image_size( $size ) {
671
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
+ */
679
return apply_filters( 'dco_ca_admin_gallery_size', 'thumbnail' );
680
}
681
0 commit comments