manager->get_content_types( 'content_type_slug' ); if ( ! $content_type) { return $result; } //$args is an array of arguments //like $args = array ( array ( 'field' => 'num1', 'operator' => '=', 'value' => 0, 'type' => 'integer', ), array ( 'field' => 'cct_status', 'operator' => '=', 'value' => 'publish', 'type' => 'CHAR', ), ); $result = $content_type->db->query( $args, $limit, $offset, $order );