Merged in feature/280-dev-dev01 (pull request #21)
auto-patch 280-dev-dev01-2024-01-19T16_41_58 * auto-patch 280-dev-dev01-2024-01-19T16_41_58
This commit is contained in:
@@ -252,12 +252,14 @@ trait WPCF7_Sendinblue_API {
|
||||
}
|
||||
|
||||
|
||||
public function get_lists() {
|
||||
public function get_lists( $options = '' ) {
|
||||
$options = wp_parse_args( $options, array(
|
||||
'limit' => 50,
|
||||
'offset' => 0,
|
||||
) );
|
||||
|
||||
$endpoint = add_query_arg(
|
||||
array(
|
||||
'limit' => 50,
|
||||
'offset' => 0,
|
||||
),
|
||||
$options,
|
||||
'https://api.sendinblue.com/v3/contacts/lists'
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user