API Category: Content Restriction Hooks


Usage: add_filter( ‘arm_restricted_site_access_allow_pages’, ‘your_function’); function your_function($page_ids) { //$page_ids Array of allowed page ids. $page_ids[] = 31; return $page_ids; } Parameters: $page_ids Array of allowed page ids

Read More


Usage: add_filter( ‘arm_restricted_url_redirect_url’, ‘your_function’, 10, 2); function your_function($redirect_url, $wp) { //$redirect_url Redirection URL. //$wp Global WordPress Object $redirect_url = ‘http://example.com’; return $redirect_url; } Parameters: $redirect_url Redirection URL $wp Global WordPress Object

Read More


Usage: add_filter( ‘arm_restricted_urls’, ‘your_function’); function your_function($block_urls) { //$block_urls Array of blocked URLs. $block_urls[] = ‘http://example.com’; return $block_urls; } Parameters: $block_urls Array of blocked URLs

Read More
Welcome to ARMember
Fancy getting all offers and update notifications?
Give it a try, you can unsubscribe anytime.
30% OFF SALE. Hurry! Enter discount code ‘ENVATO30’ and get 30% discount on every purchase of ARMember Addons!