API Category: Drip Rule Hooks

arm_is_dripped

Usage: add_filter( ‘arm_is_dripped’, ‘your_function’, 10, 3); function your_function($isDripped, $rule_type, $rule_options) { //$isDripped True if post/page is dripped, False if not dripped. //$rule_type Drip Rule Type. //$rule_options Drip Rule Options. if ($rule_type == ‘custom_type’) { $isDripped = false; } return $isDripped; } Parameters: $isDripped True if post/page is dripped, False if not dripped $rule_type Drip Rule […]

Read More

arm_change_drip_content_in_admin

Usage: add_filter( ‘arm_change_drip_content_in_admin’, ‘your_function’, 10, 2); function your_function($rule_text, $drip_rule) { //$rule_text Drip Rule text //$drip_rule Drip Rule array if ($drip_rule[‘rule_type’] == ‘custom_type’) { $rule_text = ‘Custom Type’; } return $rule_text; } Parameters: $rule_text Drip Rule text $drip_rule Drip Rule array

Read More

arm_drip_rule_types

Usage: add_filter( ‘arm_drip_rule_types’, ‘your_function’); function your_function($rule_types) { //$rule_types Drip Rule Types $rule_types[‘custom_type’] = ‘Custom Type’; return $rule_types; } Parameters: $rule_types Drip Rule Types

Read More
Welcome to ARMember
Fancy getting all offers and update notifications?
Subscribe
Give it a try, you can unsubscribe anytime.
Close