diff --git a/init.php b/init.php index a678c75..8ffebec 100644 --- a/init.php +++ b/init.php @@ -430,7 +430,8 @@ public function get_all_objects( $args, $attached = array() ) { } } - return $attached_objects; + return apply_filters( 'cmb2_attached_posts_objects', $attached_objects, $args ); + } /**