ninja_forms_available_actions

The Ninja Forms ninja forms available actions hook.

Description

apply_filters( 'ninja_forms_available_actions', (callback) $var ); 

Parameters (1)

0. $var — Optional. (callback) => array('mailchimp' => array( 'name' => "mailchimp", 'nicename' => "MailChimp", 'image' => "data:image/png;base64, ", 'link' => "https://ninjaforms.com/extensions/mail-chimp/?utm_medium=plugin&utm_source=plugin&utm_campaign=Ninja+Forms+Actions+Drawer&utm_content=MailChimp", 'plugin_path' => "ninja-forms-mail-chimp/ninja-forms-mail-chimp.php" ),'campaignmonitor' => array( 'name' => "campaignmonitor", 'nicename' => "Campaign Monitor", 'image' => "data:image/png;base64, ", 'link' => "https://ninjaforms.com/extensions/campaign-monitor/?utm_medium=plugin&utm_source=plugin&utm_campaign=Ninja+Forms+Actions+Drawer&utm_content=Campaign+Monitor", 'plugin_path' => "ninja-forms-campaign-monitor/ninja-forms-campaign-monitor.php" ),'constantcontact' => array( 'name' => "constantcontact", 'nicename' => "Constant Contact", 'image' => "data:image/png;base64, ", 'link' => "https://ninjaforms.com/extensions/constant-contact/?utm_medium=plugin&utm_source=plugin&utm_campaign=Ninja+Forms+Actions+Drawer&utm_content=Constant+Contact", 'plugin_path' => "ninja-forms-constant-contact/ninja-forms-constant-contact.php" ),'aweber' => array( 'name' => "aweber", 'nicename' => "AWeber", 'image' => "data:image/png;base64, ", 'link' => "https://ninjaforms.com/extensions/aweber/?utm_medium=plugin&utm_source=plugin&utm_campaign=Ninja+Forms+Actions+Drawer&utm_content=AWeber", 'plugin_path' => "ninja-forms-aweber/ninja-forms-aweber.php" ),'emma' => array( 'name' => "emma", 'nicename:' => "Emma", 'image' => "data:image/png;base64, ", 'link' => "https://ninjaforms.com/extensions/emma/?utm_medium=plugin&utm_source=plugin&utm_campaign=Ninja+Forms+Actions+Drawer&utm_content=Emma", 'plugin_path' => "" ),'slack' => array( 'name' => "slack", 'nicename' => "Slack", 'image' => "data:image/png;base64, ", 'link' => "https://ninjaforms.com/extensions/slack/?utm_medium=plugin&utm_source=plugin&utm_campaign=Ninja+Forms+Actions+Drawer&utm_content=Slack", 'plugin_path' => "ninja-forms-slack/ninja-forms-slack.php" ),'createposts' => array( 'name' => "createposts", 'nicename:' => "Front-End Posting", 'image' => "data:image/png;base64, ", 'link' => "https://ninjaforms.com/extensions/front-end-posting/?utm_medium=plugin&utm_source=plugin&utm_campaign=Ninja+Forms+Actions+Drawer&utm_content=Front-End+Posting", 'plugin_path' => "ninja-forms-post-creation/ninja-forms-post-creation.php" ),'webhook' => array( 'name' => "webhook", 'nicename' => "WebHook", 'image' => "data:image/png;base64, ", 'link' => "https://ninjaforms.com/extensions/webhooks/?utm_medium=plugin&utm_source=plugin&utm_campaign=Ninja+Forms+Actions+Drawer&utm_content=Webhooks", 'plugin_path' => "ninja-forms-webhooks/ninja-forms-webhooks.php" ),'webmerge' => array( 'name' => "webmerge", 'nicename' => "WebMerge", 'image' => "data:image/png;base64, ", 'link' => "https://ninjaforms.com/extensions/webmerge/?utm_medium=plugin&utm_source=plugin&utm_campaign=Ninja+Forms+Actions+Drawer&utm_content=WebMerge", 'plugin_path' => "ninja-forms-webmerge/ninja-forms-webmerge.php" ), 'zapier' => array( 'name' => "zapier", 'nicename' => "Zapier", 'image' => "data:image/png;base64, ", 'link' => "https://ninjaforms.com/extensions/zapier/?utm_medium=plugin&utm_source=plugin&utm_campaign=Ninja+Forms+Actions+Drawer&utm_content=Zapier", 'plugin_path' => "ninja-forms-zapier/ninja-forms-zapier.php" ),'file_uploads' => array( 'name' => 'file_uploads', 'nicename' => 'File Uploads', 'image' => 'data:image/png;base64, ', 'link' => 'https://ninjaforms.com/extensions/file-uploads/?utm_medium=plugin&utm_source=plugin&utm_campaign=Ninja+Forms+Actions+Drawer&utm_content=File+Uploads', 'plugin_path' => 'ninja-forms-uploads/file-uploads.php' ),'twilio_sms' => array( 'name' => 'twilio_sms', 'nicename' => 'Twilio SMS', 'image' => 'data:image/png;base64, ', 'link' => 'https://ninjaforms.com/extensions/twilio-sms/?utm_medium=plugin&utm_source=plugin&utm_campaign=Ninja+Forms+Actions+Drawer&utm_content=Twilio+SMS', 'plugin_path' => 'ninja-forms-twilio/ninja-forms-twilio.php' ),'videomail' => array( 'name' => 'videomail', 'nicename' => 'Videomail', 'image' => 'data:image/png;base64, ', 'link' => 'https://ninjaforms.com/extensions/videomail/?utm_medium=plugin&utm_source=plugin&utm_campaign=Ninja+Forms+Actions+Drawer&utm_content=Videomail', 'plugin_path' => 'ninja-forms-videomail/ninja-forms-videomail.php' ),'trello' => array( 'name' => "trello", 'nicename' => "Trello", 'image' => "data:image/png;base64, ", 'link' => "https://ninjaforms.com/extensions/trello/?utm_medium=plugin&utm_source=plugin&utm_campaign=Ninja+Forms+Actions+Drawer&utm_content=Trello", 'plugin_path' => "ninja-forms-trello/ninja-forms-trello.php" ),)
The array.

Usage

To run the hook, copy the example below.
  1. $var = apply_filters( 'ninja_forms_available_actions', $var ); 
  2.  
  3. if ( !empty( $var ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the ninja_forms_available_actions callback 
  2. function filter_ninja_forms_available_actions( $var ) { 
  3. // make filter magic happen here... 
  4. return $var
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'ninja_forms_available_actions', 'filter_ninja_forms_available_actions', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'ninja_forms_available_actions', 'filter_ninja_forms_available_actions', 10, 1 ); 

Defined (1)

The filter is defined in the following location(s).

/includes/Config/AvailableActions.php  
  1. return apply_filters( 'ninja_forms_available_actions', array(