WPCF7_ConstantContact_ContactPostRequest::add_list_membership()
Метод класса: WPCF7_ConstantContact_ContactPostRequest{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WPCF7_ConstantContact_ContactPostRequest = new WPCF7_ConstantContact_ContactPostRequest(); $WPCF7_ConstantContact_ContactPostRequest->add_list_membership( $list_id );
- $list_id (обязательный)
- -
Код WPCF7_ConstantContact_ContactPostRequest::add_list_membership() WPCF7 ConstantContact ContactPostRequest::add list membership CF7 5.9.8
public function add_list_membership( $list_id ) { $uuid_pattern = '/^[0-9a-f-]+$/i'; if ( 50 <= count( $this->list_memberships ) or ! preg_match( $uuid_pattern, $list_id ) ) { return false; } return $this->list_memberships[] = $list_id; }