diff --git a/class-style-connection.php b/class-style-connection.php index c2d71c8..eb596f2 100644 --- a/class-style-connection.php +++ b/class-style-connection.php @@ -30,4 +30,28 @@ public function should_execute() { return true; } + + public function get_loader_name() + { + return 'plugin'; + } + + public function get_ids(){ + $ids = []; + $queried = $this->get_query(); + + if ( empty( $queried ) ) { + return $ids; + } + + foreach ( $queried as $key => $item ) { + $ids[ $key ] = $item; + } + + return $ids; + } + + public function is_valid_offset( $offset ){ + return true; + } }