API Category: Plugin Core Hooks

arm_update_feature_settings

Usage: add_action(‘arm_update_feature_settings’, ‘your_function’, 10, 1); function your_function($posted_data = array()){ //your custom functionality return $posted_data; } Parameters: $posted_data

Read More

arm_add_new_custom_add_on

Usage: add_action(‘arm_add_new_custom_add_on’, ‘your_function’); function your_function() { //your custom functionality }

Read More

arm_after_uninstall

Usage: add_action( ‘arm_after_uninstall’, ‘your_function_after_uninstall’ ); function your_function_after_uninstall() { // Do Your Action. }

Read More

arm_after_install

Usage: add_action( ‘arm_after_install’, ‘your_function_after_install’ ); function your_function_after_install() { // Do Your Action. }

Read More

arm_admin_messages

Usage: add_action( ‘arm_admin_messages’, ‘your_function’ ); function your_function($requested_page) { // Do Your Action. // print_r($requested_page); // Print current page slug. } Parameters: $requested_page current page slug

Read More

arm_init

Usage: add_action( ‘arm_init’, ‘your_function’ ); function your_function($obj) { // Do Your Action. } Parameters: $obj ARMember Main class object

Read More

arm_display_admin_notices

Usage: add_filter( ‘arm_display_admin_notices’, ‘your_function’); function your_function($notices = array()) { //$notices Array of success & error messages $notices[] = array(‘type’ => ‘error’, ‘message’ => ‘Your Message’); return $notices; } Parameters: $notices Array of success & error messages

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