Hello everybody,
in Pro Version, is the replacement code for custom capabilities “%%ccaps%%” also supported for the API “modication notification”?
Thank you
Hello everybody,
in Pro Version, is the replacement code for custom capabilities “%%ccaps%%” also supported for the API “modication notification”?
Thank you
It’s not, no. However, you can acquire this via %%item_number%%
. The list is comma-delimited within the colon-delimited list used by item_number
.
%%item_number%%
= The Item Number (colon separatedlevel:custom_capabilities:fixed term
) for the Membership Subscription.
Another way is to have your API Notification handler pull the details based on %%user_id%%
.
<?php
$ccaps_array = c_ws_plugin__s2member_user_access::user_access_ccaps(new WP_User($_GET['user_id']));