Available Webhook Triggers

Below you will find a list of all active WP Webhooks triggers. To use one, you need to define a URL that should be triggered to send the available data. For more information on that, you can check out our each webhook trigger description or our product documentation by clicking here.
This webhook fires as soon as a user registers.
Webhook Name Webhook URL Action

Add

  • user_object
    The request will send the full user object as an array. Please see https://codex.wordpress.org/Class_Reference/WP_User for more details.
  • user_meta
    The user meta is also pushed to the user object. You will find it on the first layer of the object as well.

Here is an example of all the available default fields that are sent after the trigger is fired. The fields may vary based on custom extensions or third party plugins.

Array
(
    [data] => Array
        (
            [ID] => 1
            [user_login] => admin
            [user_pass] => $P$BVbptZxEcZV2yeLyYeN.O4ZeG8225d.
            [user_nicename] => admin
            [user_email] => admin@ironikus.dev
            [user_url] => 
            [user_registered] => 2018-11-06 14:19:18
            [user_activation_key] => 
            [user_status] => 0
            [display_name] => admin
        )

    [ID] => 1
    [caps] => Array
        (
            [administrator] => 1
        )

    [cap_key] => irn_capabilities
    [roles] => Array
        (
            [0] => administrator
        )

    [allcaps] => Array
        (
            [switch_themes] => 1
            [edit_themes] => 1
            [activate_plugins] => 1
            [edit_plugins] => 1
            [edit_users] => 1
            [edit_files] => 1
            [manage_options] => 1
            [moderate_comments] => 1
            [manage_categories] => 1
            [manage_links] => 1
            [upload_files] => 1
            [import] => 1
            [unfiltered_html] => 1
            [edit_posts] => 1
            [edit_others_posts] => 1
            [edit_published_posts] => 1
            [publish_posts] => 1
            [edit_pages] => 1
            [read] => 1
            [level_10] => 1
            [level_9] => 1
            [level_8] => 1
            [level_7] => 1
            [level_6] => 1
            [level_5] => 1
            [level_4] => 1
            [level_3] => 1
            [level_2] => 1
            [level_1] => 1
            [level_0] => 1
            [edit_others_pages] => 1
            [edit_published_pages] => 1
            [publish_pages] => 1
            [delete_pages] => 1
            [delete_others_pages] => 1
            [delete_published_pages] => 1
            [delete_posts] => 1
            [delete_others_posts] => 1
            [delete_published_posts] => 1
            [delete_private_posts] => 1
            [edit_private_posts] => 1
            [read_private_posts] => 1
            [delete_private_pages] => 1
            [edit_private_pages] => 1
            [read_private_pages] => 1
            [delete_users] => 1
            [create_users] => 1
            [unfiltered_upload] => 1
            [edit_dashboard] => 1
            [update_plugins] => 1
            [delete_plugins] => 1
            [install_plugins] => 1
            [update_themes] => 1
            [install_themes] => 1
            [update_core] => 1
            [list_users] => 1
            [remove_users] => 1
            [promote_users] => 1
            [edit_theme_options] => 1
            [delete_themes] => 1
            [export] => 1
            [administrator] => 1
        )

    [filter] => 
    [meta_data] => Array
        (
            [nickname] => Array
                (
                    [0] => admin
                )

            [first_name] => Array
                (
                    [0] => Jon
                )

            [last_name] => Array
                (
                    [0] => Doe
                )

            [description] => Array
                (
                    [0] => My descriptio 
                )

            [rich_editing] => Array
                (
                    [0] => true
                )

            [syntax_highlighting] => Array
                (
                    [0] => true
                )

            [comment_shortcuts] => Array
                (
                    [0] => false
                )

            [admin_color] => Array
                (
                    [0] => fresh
                )

            [use_ssl] => Array
                (
                    [0] => 0
                )

            [show_admin_bar_front] => Array
                (
                    [0] => true
                )

            [locale] => Array
                (
                    [0] => 
                )

            [irn_capabilities] => Array
                (
                    [0] => a:1:{s:13:"administrator";b:1;}
                )

            [irn_user_level] => Array
                (
                    [0] => 10
                )

            [dismissed_wp_pointers] => Array
                (
                    [0] => wp111_privacy
                )

            [show_welcome_panel] => Array
                (
                    [0] => 1
                )

            [session_tokens] => Array
                (
                    [0] => a:1:{}
                )

            [irn_dashboard_quick_press_last_post_id] => Array
                (
                    [0] => 4
                )

            [community-events-location] => Array
                (
                    [0] => a:1:{s:2:"ip";s:9:"127.0.0.0";}
                )

            [show_try_gutenberg_panel] => Array
                (
                    [0] => 0
                )

        )

)
This webhook trigger is used to send data, on the creation of a user, to one or multiple given webhook URL's.
This description is uniquely made for the Send Data On Register (create_user) webhook trigger.

How to use Send Data On Register (create_user)

  1. To get started, you need to add your receiving URL endpoint, that accepts webhook requests, from the third-party provider or service you want to use.
  2. Once you have this URL, please place it into the Webhook URL field above.
  3. For better identification of the webhook URL, we recommend to also fill the Webhook Name field. This field will be used as the slug for your webhook URL. In case you leave it empty, we will automatically generate a random number as an identifier.
  4. After you added your Webhook URL, press the Add button to finish adding the entry.
  5. That's it! Now you can receive data on the URL once the trigger fires.
  6. Next to the Webhook URL, you will find a settings item, which you can use to customize the payload/request.


When does this trigger fire?


This trigger is registered on the user_register hook: https://developer.wordpress.org/reference/hooks/user_register/

Here is the call within our code we use to fire this trigger:
add_action( 'user_register', array( $this, 'ironikus_trigger_user_register_init' ), 10, 1 );
IMPORTANT: Please note that this webhook does not fire, by default, once the actual trigger (user_register) is fired, but as soon as the WordPress shutdown hook fires. This is important since we want to allow third-party plugins to make their relevant changes before we send over the data. To deactivate this functionality, please go to our Settings and activate the Deactivate Post Trigger Delay settings item. This results in the webhooks firing straight after the initial hook is called.


Tipps

  1. In case you don't need a specified webhook URL at the moment, you can simply deactivate it by clicking the Deactivate link next to the Webhook URL. This results in the specified URL not being fired once the trigger fires.
  2. You can use the Send demo button to send a static request to your specified Webhook URL. Please note that the data sent within the request might differ from your live data.
  3. Within the Settings link next to your Webhook URL, you can use customize the functionality of the request. It contains certain default settings like changing the request type the data is sent in, or custom settings, depending on your trigger. An explanation for each setting is right next to it. (Please don't forget to save the settings once you changed them - the button is at the end of the popup.)
  4. You can also check the response you get from the demo webhook call. To check it, simply open the console of your browser and you will find an entry there, which gives you all the details about the response.


In case you would like to learn more about our plugin, please check out our documentation at:
https://ironikus.com/docs/article-categories/get-started/
This webhook fires as soon as a user triggers the login.

Add

  • user_object
    The request will send the full user object as an array. Please see https://codex.wordpress.org/Class_Reference/WP_User for more details.
  • user_meta
    The user meta is also pushed to the user object. You will find it on the first layer of the object as well.
  • user_login
    The user login is included as well. This is the value the user used to make the login. It is also located on the first layoer of the array.

Here is an example of all the available default fields that are sent after the trigger is fired. The fields may vary based on custom extensions or third party plugins.

Array
(
    [data] => Array
        (
            [ID] => 1
            [user_login] => admin
            [user_pass] => $P$BVbptZxEcZV2yeLyYeN.O4ZeG8225d.
            [user_nicename] => admin
            [user_email] => admin@ironikus.dev
            [user_url] => 
            [user_registered] => 2018-11-06 14:19:18
            [user_activation_key] => 
            [user_status] => 0
            [display_name] => admin
        )

    [ID] => 1
    [caps] => Array
        (
            [administrator] => 1
        )

    [cap_key] => irn_capabilities
    [roles] => Array
        (
            [0] => administrator
        )

    [allcaps] => Array
        (
            [switch_themes] => 1
            [edit_themes] => 1
            [activate_plugins] => 1
            [edit_plugins] => 1
            [edit_users] => 1
            [edit_files] => 1
            [manage_options] => 1
            [moderate_comments] => 1
            [manage_categories] => 1
            [manage_links] => 1
            [upload_files] => 1
            [import] => 1
            [unfiltered_html] => 1
            [edit_posts] => 1
            [edit_others_posts] => 1
            [edit_published_posts] => 1
            [publish_posts] => 1
            [edit_pages] => 1
            [read] => 1
            [level_10] => 1
            [level_9] => 1
            [level_8] => 1
            [level_7] => 1
            [level_6] => 1
            [level_5] => 1
            [level_4] => 1
            [level_3] => 1
            [level_2] => 1
            [level_1] => 1
            [level_0] => 1
            [edit_others_pages] => 1
            [edit_published_pages] => 1
            [publish_pages] => 1
            [delete_pages] => 1
            [delete_others_pages] => 1
            [delete_published_pages] => 1
            [delete_posts] => 1
            [delete_others_posts] => 1
            [delete_published_posts] => 1
            [delete_private_posts] => 1
            [edit_private_posts] => 1
            [read_private_posts] => 1
            [delete_private_pages] => 1
            [edit_private_pages] => 1
            [read_private_pages] => 1
            [delete_users] => 1
            [create_users] => 1
            [unfiltered_upload] => 1
            [edit_dashboard] => 1
            [update_plugins] => 1
            [delete_plugins] => 1
            [install_plugins] => 1
            [update_themes] => 1
            [install_themes] => 1
            [update_core] => 1
            [list_users] => 1
            [remove_users] => 1
            [promote_users] => 1
            [edit_theme_options] => 1
            [delete_themes] => 1
            [export] => 1
            [administrator] => 1
        )

    [filter] => 
    [meta_data] => Array
        (
            [nickname] => Array
                (
                    [0] => admin
                )

            [first_name] => Array
                (
                    [0] => Jon
                )

            [last_name] => Array
                (
                    [0] => Doe
                )

            [description] => Array
                (
                    [0] => My descriptio 
                )

            [rich_editing] => Array
                (
                    [0] => true
                )

            [syntax_highlighting] => Array
                (
                    [0] => true
                )

            [comment_shortcuts] => Array
                (
                    [0] => false
                )

            [admin_color] => Array
                (
                    [0] => fresh
                )

            [use_ssl] => Array
                (
                    [0] => 0
                )

            [show_admin_bar_front] => Array
                (
                    [0] => true
                )

            [locale] => Array
                (
                    [0] => 
                )

            [irn_capabilities] => Array
                (
                    [0] => a:1:{s:13:"administrator";b:1;}
                )

            [irn_user_level] => Array
                (
                    [0] => 10
                )

            [dismissed_wp_pointers] => Array
                (
                    [0] => wp111_privacy
                )

            [show_welcome_panel] => Array
                (
                    [0] => 1
                )

            [session_tokens] => Array
                (
                    [0] => a:1:{}
                )

            [irn_dashboard_quick_press_last_post_id] => Array
                (
                    [0] => 4
                )

            [community-events-location] => Array
                (
                    [0] => a:1:{s:2:"ip";s:9:"127.0.0.0";}
                )

            [show_try_gutenberg_panel] => Array
                (
                    [0] => 0
                )

        )

    [user_login] => myLogin@test.test
)
This webhook trigger is used to send data, on login of a user, to one or multiple given webhook URL's.
This description is uniquely made for the Send Data On Login (login_user) webhook trigger.

How to use Send Data On Login (login_user)

  1. To get started, you need to add your receiving URL endpoint, that accepts webhook requests, from the third-party provider or service you want to use.
  2. Once you have this URL, please place it into the Webhook URL field above.
  3. For better identification of the webhook URL, we recommend to also fill the Webhook Name field. This field will be used as the slug for your webhook URL. In case you leave it empty, we will automatically generate a random number as an identifier.
  4. After you added your Webhook URL, press the Add button to finish adding the entry.
  5. That's it! Now you can receive data on the URL once the trigger fires.
  6. Next to the Webhook URL, you will find a settings item, which you can use to customize the payload/request.


When does this trigger fire?


This trigger is registered on the wp_login hook: https://developer.wordpress.org/reference/hooks/wp_login/

Here is the call within our code we use to fire this trigger:
add_action( 'wp_login', array( $this, 'ironikus_trigger_user_login_init' ), 10, 2 );
IMPORTANT: Please note that this webhook does not fire, by default, once the actual trigger (wp_login) is fired, but as soon as the WordPress shutdown hook fires. This is important since we want to allow third-party plugins to make their relevant changes before we send over the data. To deactivate this functionality, please go to our Settings and activate the Deactivate Post Trigger Delay settings item. This results in the webhooks firing straight after the initial hook is called.


Tipps

  1. In case you don't need a specified webhook URL at the moment, you can simply deactivate it by clicking the Deactivate link next to the Webhook URL. This results in the specified URL not being fired once the trigger fires.
  2. You can use the Send demo button to send a static request to your specified Webhook URL. Please note that the data sent within the request might differ from your live data.
  3. Within the Settings link next to your Webhook URL, you can use customize the functionality of the request. It contains certain default settings like changing the request type the data is sent in, or custom settings, depending on your trigger. An explanation for each setting is right next to it. (Please don't forget to save the settings once you changed them - the button is at the end of the popup.)
  4. You can also check the response you get from the demo webhook call. To check it, simply open the console of your browser and you will find an entry there, which gives you all the details about the response.


In case you would like to learn more about our plugin, please check out our documentation at:
https://ironikus.com/docs/article-categories/get-started/
This webhook fires as soon as a user updates his profile.
Webhook Name Webhook URL Action

Add

  • user_object
    The request will send the full user object as an array. Please see https://codex.wordpress.org/Class_Reference/WP_User for more details.
  • user_meta
    The user meta is also pushed to the user object. You will find it on the first layer of the object as well.
  • user_old_data
    This is the object with the previous user object as an array. You can recheck your data on it as well.

Here is an example of all the available default fields that are sent after the trigger is fired. The fields may vary based on custom extensions or third party plugins.

Array
(
    [data] => Array
        (
            [ID] => 1
            [user_login] => admin
            [user_pass] => $P$BVbptZxEcZV2yeLyYeN.O4ZeG8225d.
            [user_nicename] => admin
            [user_email] => admin@ironikus.dev
            [user_url] => 
            [user_registered] => 2018-11-06 14:19:18
            [user_activation_key] => 
            [user_status] => 0
            [display_name] => admin
        )

    [ID] => 1
    [caps] => Array
        (
            [administrator] => 1
        )

    [cap_key] => irn_capabilities
    [roles] => Array
        (
            [0] => administrator
        )

    [allcaps] => Array
        (
            [switch_themes] => 1
            [edit_themes] => 1
            [activate_plugins] => 1
            [edit_plugins] => 1
            [edit_users] => 1
            [edit_files] => 1
            [manage_options] => 1
            [moderate_comments] => 1
            [manage_categories] => 1
            [manage_links] => 1
            [upload_files] => 1
            [import] => 1
            [unfiltered_html] => 1
            [edit_posts] => 1
            [edit_others_posts] => 1
            [edit_published_posts] => 1
            [publish_posts] => 1
            [edit_pages] => 1
            [read] => 1
            [level_10] => 1
            [level_9] => 1
            [level_8] => 1
            [level_7] => 1
            [level_6] => 1
            [level_5] => 1
            [level_4] => 1
            [level_3] => 1
            [level_2] => 1
            [level_1] => 1
            [level_0] => 1
            [edit_others_pages] => 1
            [edit_published_pages] => 1
            [publish_pages] => 1
            [delete_pages] => 1
            [delete_others_pages] => 1
            [delete_published_pages] => 1
            [delete_posts] => 1
            [delete_others_posts] => 1
            [delete_published_posts] => 1
            [delete_private_posts] => 1
            [edit_private_posts] => 1
            [read_private_posts] => 1
            [delete_private_pages] => 1
            [edit_private_pages] => 1
            [read_private_pages] => 1
            [delete_users] => 1
            [create_users] => 1
            [unfiltered_upload] => 1
            [edit_dashboard] => 1
            [update_plugins] => 1
            [delete_plugins] => 1
            [install_plugins] => 1
            [update_themes] => 1
            [install_themes] => 1
            [update_core] => 1
            [list_users] => 1
            [remove_users] => 1
            [promote_users] => 1
            [edit_theme_options] => 1
            [delete_themes] => 1
            [export] => 1
            [administrator] => 1
        )

    [filter] => 
    [meta_data] => Array
        (
            [nickname] => Array
                (
                    [0] => admin
                )

            [first_name] => Array
                (
                    [0] => Jon
                )

            [last_name] => Array
                (
                    [0] => Doe
                )

            [description] => Array
                (
                    [0] => My descriptio 
                )

            [rich_editing] => Array
                (
                    [0] => true
                )

            [syntax_highlighting] => Array
                (
                    [0] => true
                )

            [comment_shortcuts] => Array
                (
                    [0] => false
                )

            [admin_color] => Array
                (
                    [0] => fresh
                )

            [use_ssl] => Array
                (
                    [0] => 0
                )

            [show_admin_bar_front] => Array
                (
                    [0] => true
                )

            [locale] => Array
                (
                    [0] => 
                )

            [irn_capabilities] => Array
                (
                    [0] => a:1:{s:13:"administrator";b:1;}
                )

            [irn_user_level] => Array
                (
                    [0] => 10
                )

            [dismissed_wp_pointers] => Array
                (
                    [0] => wp111_privacy
                )

            [show_welcome_panel] => Array
                (
                    [0] => 1
                )

            [session_tokens] => Array
                (
                    [0] => a:1:{}
                )

            [irn_dashboard_quick_press_last_post_id] => Array
                (
                    [0] => 4
                )

            [community-events-location] => Array
                (
                    [0] => a:1:{s:2:"ip";s:9:"127.0.0.0";}
                )

            [show_try_gutenberg_panel] => Array
                (
                    [0] => 0
                )

        )

    [user_old_data] => Array
        (
        )

)
This webhook trigger is used to send data, on the update of a user, to one or multiple given webhook URL's.
This description is uniquely made for the Send Data On User Update (update_user) webhook trigger.

How to use Send Data On User Update (update_user)

  1. To get started, you need to add your receiving URL endpoint, that accepts webhook requests, from the third-party provider or service you want to use.
  2. Once you have this URL, please place it into the Webhook URL field above.
  3. For better identification of the webhook URL, we recommend to also fill the Webhook Name field. This field will be used as the slug for your webhook URL. In case you leave it empty, we will automatically generate a random number as an identifier.
  4. After you added your Webhook URL, press the Add button to finish adding the entry.
  5. That's it! Now you can receive data on the URL once the trigger fires.
  6. Next to the Webhook URL, you will find a settings item, which you can use to customize the payload/request.


When does this trigger fire?


This trigger is registered on the profile_update hook: https://developer.wordpress.org/reference/hooks/profile_update/

Here is the call within our code we use to fire this trigger:
add_action( 'profile_update', array( $this, 'ironikus_trigger_user_update_init' ), 10, 2 );
IMPORTANT: Please note that this webhook does not fire, by default, once the actual trigger (profile_update) is fired, but as soon as the WordPress shutdown hook fires. This is important since we want to allow third-party plugins to make their relevant changes before we send over the data. To deactivate this functionality, please go to our Settings and activate the Deactivate Post Trigger Delay settings item. This results in the webhooks firing straight after the initial hook is called.


Tipps

  1. In case you don't need a specified webhook URL at the moment, you can simply deactivate it by clicking the Deactivate link next to the Webhook URL. This results in the specified URL not being fired once the trigger fires.
  2. You can use the Send demo button to send a static request to your specified Webhook URL. Please note that the data sent within the request might differ from your live data.
  3. Within the Settings link next to your Webhook URL, you can use customize the functionality of the request. It contains certain default settings like changing the request type the data is sent in, or custom settings, depending on your trigger. An explanation for each setting is right next to it. (Please don't forget to save the settings once you changed them - the button is at the end of the popup.)
  4. You can also check the response you get from the demo webhook call. To check it, simply open the console of your browser and you will find an entry there, which gives you all the details about the response.


In case you would like to learn more about our plugin, please check out our documentation at:
https://ironikus.com/docs/article-categories/get-started/
This webhook fires as soon as a user was deleted.
Webhook Name Webhook URL Action

Add

  • user_id
    The ID of the deleted user
  • reassign
    ID of the user to reassign posts and links to. Default null, for no reassignment.

Here is an example of all the available default fields that are sent after the trigger is fired. The fields may vary based on custom extensions or third party plugins.

Array
(
    [user_id] => 1234
    [reassign] => 1235
)
This webhook trigger is used to send data, after deletion of a user, to one or multiple given webhook URL's.
This description is uniquely made for the Send Data On User Deletion (deleted_user) webhook trigger.

How to use Send Data On User Deletion (deleted_user)

  1. To get started, you need to add your receiving URL endpoint, that accepts webhook requests, from the third-party provider or service you want to use.
  2. Once you have this URL, please place it into the Webhook URL field above.
  3. For better identification of the webhook URL, we recommend to also fill the Webhook Name field. This field will be used as the slug for your webhook URL. In case you leave it empty, we will automatically generate a random number as an identifier.
  4. After you added your Webhook URL, press the Add button to finish adding the entry.
  5. That's it! Now you can receive data on the URL once the trigger fires.
  6. Next to the Webhook URL, you will find a settings item, which you can use to customize the payload/request.


When does this trigger fire?


This trigger is registered on the deleted_user hook: https://developer.wordpress.org/reference/hooks/deleted_user/

Important: If case have a multisite network set up, this webhook only fires if you delete the user from the whole network and not only from one sub site.

Here is the call within our code we use to fire this trigger:
add_action( 'deleted_user', array( $this, 'ironikus_trigger_deleted_user_init' ), 10, 2 );
IMPORTANT: Please note that this webhook does not fire, by default, once the actual trigger (deleted_user) is fired, but as soon as the WordPress shutdown hook fires. This is important since we want to allow third-party plugins to make their relevant changes before we send over the data. To deactivate this functionality, please go to our Settings and activate the Deactivate Post Trigger Delay settings item. This results in the webhooks firing straight after the initial hook is called.


Tipps

  1. In case you don't need a specified webhook URL at the moment, you can simply deactivate it by clicking the Deactivate link next to the Webhook URL. This results in the specified URL not being fired once the trigger fires.
  2. You can use the Send demo button to send a static request to your specified Webhook URL. Please note that the data sent within the request might differ from your live data.
  3. Within the Settings link next to your Webhook URL, you can use customize the functionality of the request. It contains certain default settings like changing the request type the data is sent in, or custom settings, depending on your trigger. An explanation for each setting is right next to it. (Please don't forget to save the settings once you changed them - the button is at the end of the popup.)
  4. You can also check the response you get from the demo webhook call. To check it, simply open the console of your browser and you will find an entry there, which gives you all the details about the response.


In case you would like to learn more about our plugin, please check out our documentation at:
https://ironikus.com/docs/article-categories/get-started/
This webhook fires after a new post was created.
Webhook Name Webhook URL Action

Add

  • post_id
    The post id of the created post.
  • post
    The whole post object with all of its values
  • post_meta
    An array of the whole post meta data.
  • post_thumbnail
    The full featured image/thumbnail URL in the full size.
  • taxonomies
    (Array) An array containing the taxonomy data of the assigned taxonomies. Custom Taxonomies are supported too.

Here is an example of all the available default fields that are sent after the trigger is fired. The fields may vary based on custom extensions or third party plugins.

Array
(
    [post_id] => 1234
    [post] => Array
        (
            [ID] => 1
            [post_author] => 1
            [post_date] => 2018-11-06 14:19:18
            [post_date_gmt] => 2018-11-06 14:19:18
            [post_content] => Welcome to WordPress. This is your first post. Edit or delete it, then start writing!
            [post_title] => Hello world!
            [post_excerpt] => 
            [post_status] => publish
            [comment_status] => open
            [ping_status] => open
            [post_password] => 
            [post_name] => hello-world
            [to_ping] => 
            [pinged] => 
            [post_modified] => 2018-11-06 14:19:18
            [post_modified_gmt] => 2018-11-06 14:19:18
            [post_content_filtered] => 
            [post_parent] => 0
            [guid] => https://mydomain.dev/?p=1
            [menu_order] => 0
            [post_type] => post
            [post_mime_type] => 
            [comment_count] => 1
            [filter] => raw
        )

    [post_meta] => Array
        (
            [key_0] => Array
                (
                    [0] => 0.00
                )

            [key_1] => Array
                (
                    [0] => 0
                )

            [key_2] => Array
                (
                    [0] => 1
                )

            [key_3] => Array
                (
                    [0] => 148724528:1
                )

            [key_4] => Array
                (
                    [0] => 10.00
                )

            [key_5] => Array
                (
                    [0] => a:0:{}
                )

        )

    [post_thumbnail] => https://mydomain.com/images/image.jpg
    [taxonomies] => Array
        (
            [category] => Array
                (
                    [uncategorized] => Array
                        (
                            [term_id] => 1
                            [name] => Uncategorized
                            [slug] => uncategorized
                            [term_group] => 0
                            [term_taxonomy_id] => 1
                            [taxonomy] => category
                            [description] => 
                            [parent] => 10
                            [count] => 7
                            [filter] => raw
                        )

                    [secondcat] => Array
                        (
                            [term_id] => 2
                            [name] => Second Cat
                            [slug] => secondcat
                            [term_group] => 0
                            [term_taxonomy_id] => 2
                            [taxonomy] => category
                            [description] => 
                            [parent] => 1
                            [count] => 1
                            [filter] => raw
                        )

                )

        )

)
This webhook trigger is used to send data, on the creation of a post, to one or multiple given webhook URL's.
This description is uniquely made for the Send Data On New Post (post_create) webhook trigger.

How to use Send Data On New Post (post_create)

  1. To get started, you need to add your receiving URL endpoint, that accepts webhook requests, from the third-party provider or service you want to use.
  2. Once you have this URL, please place it into the Webhook URL field above.
  3. For better identification of the webhook URL, we recommend to also fill the Webhook Name field. This field will be used as the slug for your webhook URL. In case you leave it empty, we will automatically generate a random number as an identifier.
  4. After you added your Webhook URL, press the Add button to finish adding the entry.
  5. That's it! Now you can receive data on the URL once the trigger fires.
  6. Next to the Webhook URL, you will find a settings item, which you can use to customize the payload/request.


When does this trigger fire?


This trigger is registered on the add_attachment hook and the wp_insert_post hook:
Add attachment: https://developer.wordpress.org/reference/hooks/add_attachment/
Insert post: https://developer.wordpress.org/reference/hooks/wp_insert_post/

This webhook fires on two different hooks since attachments (which are technically posts as well), use a custom logic.

Here are the calls within our code we use to fire this trigger:
add_action( 'add_attachment', array( $this, 'ironikus_trigger_post_create_attachment_init' ), 10, 1 );
add_action( 'wp_insert_post', array( $this, 'ironikus_trigger_post_create_init' ), 10, 3 );
IMPORTANT: Please note that this webhook does not fire, by default, once the actual trigger (wp_insert_post/add_attachment) is fired, but as soon as the WordPress shutdown hook fires. This is important since we want to allow third-party plugins to make their relevant changes before we send over the data. To deactivate this functionality, please go to our Settings and activate the Deactivate Post Trigger Delay settings item. This results in the webhooks firing straight after the initial hook is called.


Tipps

  1. In case you don't need a specified webhook URL at the moment, you can simply deactivate it by clicking the Deactivate link next to the Webhook URL. This results in the specified URL not being fired once the trigger fires.
  2. You can use the Send demo button to send a static request to your specified Webhook URL. Please note that the data sent within the request might differ from your live data.
  3. Within the Settings link next to your Webhook URL, you can use customize the functionality of the request. It contains certain default settings like changing the request type the data is sent in, or custom settings, depending on your trigger. An explanation for each setting is right next to it. (Please don't forget to save the settings once you changed them - the button is at the end of the popup.)
  4. You can also check the response you get from the demo webhook call. To check it, simply open the console of your browser and you will find an entry there, which gives you all the details about the response.


In case you would like to learn more about our plugin, please check out our documentation at:
https://ironikus.com/docs/article-categories/get-started/
This webhook fires after an existing post is updated.
Webhook Name Webhook URL Action

Add

  • post_id
    The post id of the updated post.
  • post
    The whole post object with all of its values
  • post_meta
    An array of the whole post meta data.
  • post_thumbnail
    The full featured image/thumbnail URL in the full size.
  • taxonomies
    (Array) An array containing the taxonomy data of the assigned taxonomies. Custom Taxonomies are supported too.

Here is an example of all the available default fields that are sent after the trigger is fired. The fields may vary based on custom extensions or third party plugins.

Array
(
    [post_id] => 1234
    [post] => Array
        (
            [ID] => 1
            [post_author] => 1
            [post_date] => 2018-11-06 14:19:18
            [post_date_gmt] => 2018-11-06 14:19:18
            [post_content] => Welcome to WordPress. This is your first post. Edit or delete it, then start writing!
            [post_title] => Hello world!
            [post_excerpt] => 
            [post_status] => publish
            [comment_status] => open
            [ping_status] => open
            [post_password] => 
            [post_name] => hello-world
            [to_ping] => 
            [pinged] => 
            [post_modified] => 2018-11-06 14:19:18
            [post_modified_gmt] => 2018-11-06 14:19:18
            [post_content_filtered] => 
            [post_parent] => 0
            [guid] => https://mydomain.dev/?p=1
            [menu_order] => 0
            [post_type] => post
            [post_mime_type] => 
            [comment_count] => 1
            [filter] => raw
        )

    [post_meta] => Array
        (
            [key_0] => Array
                (
                    [0] => 0.00
                )

            [key_1] => Array
                (
                    [0] => 0
                )

            [key_2] => Array
                (
                    [0] => 1
                )

            [key_3] => Array
                (
                    [0] => 148724528:1
                )

            [key_4] => Array
                (
                    [0] => 10.00
                )

            [key_5] => Array
                (
                    [0] => a:0:{}
                )

        )

    [post_thumbnail] => https://mydomain.com/images/image.jpg
    [taxonomies] => Array
        (
            [category] => Array
                (
                    [uncategorized] => Array
                        (
                            [term_id] => 1
                            [name] => Uncategorized
                            [slug] => uncategorized
                            [term_group] => 0
                            [term_taxonomy_id] => 1
                            [taxonomy] => category
                            [description] => 
                            [parent] => 10
                            [count] => 7
                            [filter] => raw
                        )

                    [secondcat] => Array
                        (
                            [term_id] => 2
                            [name] => Second Cat
                            [slug] => secondcat
                            [term_group] => 0
                            [term_taxonomy_id] => 2
                            [taxonomy] => category
                            [description] => 
                            [parent] => 1
                            [count] => 1
                            [filter] => raw
                        )

                )

        )

)
This webhook trigger is used to send data, on the update of a post, to one or multiple given webhook URL's.
This description is uniquely made for the Send Data On Post Update (post_update) webhook trigger.

How to use Send Data On Post Update (post_update)

  1. To get started, you need to add your receiving URL endpoint, that accepts webhook requests, from the third-party provider or service you want to use.
  2. Once you have this URL, please place it into the Webhook URL field above.
  3. For better identification of the webhook URL, we recommend to also fill the Webhook Name field. This field will be used as the slug for your webhook URL. In case you leave it empty, we will automatically generate a random number as an identifier.
  4. After you added your Webhook URL, press the Add button to finish adding the entry.
  5. That's it! Now you can receive data on the URL once the trigger fires.
  6. Next to the Webhook URL, you will find a settings item, which you can use to customize the payload/request.


When does this trigger fire?


This trigger is registered on the attachment_updated hook and the wp_insert_post hook:
Attachment updated: https://developer.wordpress.org/reference/hooks/attachment_updated/
Update post: https://developer.wordpress.org/reference/hooks/wp_insert_post/

This webhook fires on two different hooks since attachments (which are technically posts as well), use a custom logic.
The wp_insert_post hook is fired as well for the post update - we diversify between them through the third parsed parameter called $update, which returns true or false.

Here are the calls within our code we use to fire this trigger:
add_action( 'wp_insert_post', array( $this, 'ironikus_trigger_post_update_init' ), 10, 3 );
add_action( 'attachment_updated', array( $this, 'ironikus_trigger_post_update_attachment_init' ), 10, 3 );
IMPORTANT: Please note that this webhook does not fire, by default, once the actual trigger (wp_insert_post/attachment_updated) is fired, but as soon as the WordPress shutdown hook fires. This is important since we want to allow third-party plugins to make their relevant changes before we send over the data. To deactivate this functionality, please go to our Settings and activate the Deactivate Post Trigger Delay settings item. This results in the webhooks firing straight after the initial hook is called.


Tipps

  1. In case you don't need a specified webhook URL at the moment, you can simply deactivate it by clicking the Deactivate link next to the Webhook URL. This results in the specified URL not being fired once the trigger fires.
  2. You can use the Send demo button to send a static request to your specified Webhook URL. Please note that the data sent within the request might differ from your live data.
  3. Within the Settings link next to your Webhook URL, you can use customize the functionality of the request. It contains certain default settings like changing the request type the data is sent in, or custom settings, depending on your trigger. An explanation for each setting is right next to it. (Please don't forget to save the settings once you changed them - the button is at the end of the popup.)
  4. You can also check the response you get from the demo webhook call. To check it, simply open the console of your browser and you will find an entry there, which gives you all the details about the response.


In case you would like to learn more about our plugin, please check out our documentation at:
https://ironikus.com/docs/article-categories/get-started/
This webhook fires after a post was deleted.
Webhook Name Webhook URL Action

Add

  • post_id
    The post id of the deleted post.
  • post
    Thefull post data from get_post().
  • post_meta
    The full post meta of the post.
  • post_thumbnail
    The full featured image/thumbnail URL in the full size.
  • taxonomies
    (Array) An array containing the taxonomy data of the assigned taxonomies. Custom Taxonomies are supported too.

Here is an example of all the available default fields that are sent after the trigger is fired. The fields may vary based on custom extensions or third party plugins.

Array
(
    [post_id] => 12345
    [post] => Array
        (
            [ID] => 1
            [post_author] => 1
            [post_date] => 2018-11-06 14:19:18
            [post_date_gmt] => 2018-11-06 14:19:18
            [post_content] => Welcome to WordPress. This is your first post. Edit or delete it, then start writing!
            [post_title] => Hello world!
            [post_excerpt] => 
            [post_status] => publish
            [comment_status] => open
            [ping_status] => open
            [post_password] => 
            [post_name] => hello-world
            [to_ping] => 
            [pinged] => 
            [post_modified] => 2018-11-06 14:19:18
            [post_modified_gmt] => 2018-11-06 14:19:18
            [post_content_filtered] => 
            [post_parent] => 0
            [guid] => https://mydomain.dev/?p=1
            [menu_order] => 0
            [post_type] => post
            [post_mime_type] => 
            [comment_count] => 1
            [filter] => raw
        )

    [post_meta] => Array
        (
            [key_0] => Array
                (
                    [0] => 0.00
                )

            [key_1] => Array
                (
                    [0] => 0
                )

            [key_2] => Array
                (
                    [0] => 1
                )

            [key_3] => Array
                (
                    [0] => 148724528:1
                )

            [key_4] => Array
                (
                    [0] => 10.00
                )

            [key_5] => Array
                (
                    [0] => a:0:{}
                )

        )

    [post_thumbnail] => https://mydomain.com/images/image.jpg
    [taxonomies] => Array
        (
            [category] => Array
                (
                    [uncategorized] => Array
                        (
                            [term_id] => 1
                            [name] => Uncategorized
                            [slug] => uncategorized
                            [term_group] => 0
                            [term_taxonomy_id] => 1
                            [taxonomy] => category
                            [description] => 
                            [parent] => 10
                            [count] => 7
                            [filter] => raw
                        )

                    [secondcat] => Array
                        (
                            [term_id] => 2
                            [name] => Second Cat
                            [slug] => secondcat
                            [term_group] => 0
                            [term_taxonomy_id] => 2
                            [taxonomy] => category
                            [description] => 
                            [parent] => 1
                            [count] => 1
                            [filter] => raw
                        )

                )

        )

)
This webhook trigger is used to send data, on the deletion of a post, to one or multiple given webhook URL's.
This description is uniquely made for the Send Data On Post Deletion (post_delete) webhook trigger.

How to use Send Data On Post Deletion (post_delete)

  1. To get started, you need to add your receiving URL endpoint, that accepts webhook requests, from the third-party provider or service you want to use.
  2. Once you have this URL, please place it into the Webhook URL field above.
  3. For better identification of the webhook URL, we recommend to also fill the Webhook Name field. This field will be used as the slug for your webhook URL. In case you leave it empty, we will automatically generate a random number as an identifier.
  4. After you added your Webhook URL, press the Add button to finish adding the entry.
  5. That's it! Now you can receive data on the URL once the trigger fires.
  6. Next to the Webhook URL, you will find a settings item, which you can use to customize the payload/request.


When does this trigger fire?


This trigger is registered on the delete_post hook: https://developer.wordpress.org/reference/hooks/delete_post/

Here is the call within our code we use to fire this trigger:
add_action( 'delete_post', array( $this, 'ironikus_trigger_post_delete_init' ), 10, 1 );
IMPORTANT: Please note that this webhook does not fire, by default, once the actual trigger (delete_post) is fired, but as soon as the WordPress shutdown hook fires. This is important since we want to allow third-party plugins to make their relevant changes before we send over the data. To deactivate this functionality, please go to our Settings and activate the Deactivate Post Trigger Delay settings item. This results in the webhooks firing straight after the initial hook is called.


Tipps

  1. In case you don't need a specified webhook URL at the moment, you can simply deactivate it by clicking the Deactivate link next to the Webhook URL. This results in the specified URL not being fired once the trigger fires.
  2. You can use the Send demo button to send a static request to your specified Webhook URL. Please note that the data sent within the request might differ from your live data.
  3. Within the Settings link next to your Webhook URL, you can use customize the functionality of the request. It contains certain default settings like changing the request type the data is sent in, or custom settings, depending on your trigger. An explanation for each setting is right next to it. (Please don't forget to save the settings once you changed them - the button is at the end of the popup.)
  4. You can also check the response you get from the demo webhook call. To check it, simply open the console of your browser and you will find an entry there, which gives you all the details about the response.


In case you would like to learn more about our plugin, please check out our documentation at:
https://ironikus.com/docs/article-categories/get-started/
This webhook fires after a post was trashed.
Webhook Name Webhook URL Action

Add

  • post_id
    The post id of the trashed post.
  • post
    Thefull post data from get_post().
  • post_meta
    The full post meta of the post.
  • post_thumbnail
    The full featured image/thumbnail URL in the full size.
  • taxonomies
    (Array) An array containing the taxonomy data of the assigned taxonomies. Custom Taxonomies are supported too.

Here is an example of all the available default fields that are sent after the trigger is fired. The fields may vary based on custom extensions or third party plugins.

Array
(
    [post_id] => 12345
    [post] => Array
        (
            [ID] => 1
            [post_author] => 1
            [post_date] => 2018-11-06 14:19:18
            [post_date_gmt] => 2018-11-06 14:19:18
            [post_content] => Welcome to WordPress. This is your first post. Edit or delete it, then start writing!
            [post_title] => Hello world!
            [post_excerpt] => 
            [post_status] => publish
            [comment_status] => open
            [ping_status] => open
            [post_password] => 
            [post_name] => hello-world
            [to_ping] => 
            [pinged] => 
            [post_modified] => 2018-11-06 14:19:18
            [post_modified_gmt] => 2018-11-06 14:19:18
            [post_content_filtered] => 
            [post_parent] => 0
            [guid] => https://mydomain.dev/?p=1
            [menu_order] => 0
            [post_type] => post
            [post_mime_type] => 
            [comment_count] => 1
            [filter] => raw
        )

    [post_meta] => Array
        (
            [key_0] => Array
                (
                    [0] => 0.00
                )

            [key_1] => Array
                (
                    [0] => 0
                )

            [key_2] => Array
                (
                    [0] => 1
                )

            [key_3] => Array
                (
                    [0] => 148724528:1
                )

            [key_4] => Array
                (
                    [0] => 10.00
                )

            [key_5] => Array
                (
                    [0] => a:0:{}
                )

        )

    [post_thumbnail] => https://mydomain.com/images/image.jpg
    [taxonomies] => Array
        (
            [category] => Array
                (
                    [uncategorized] => Array
                        (
                            [term_id] => 1
                            [name] => Uncategorized
                            [slug] => uncategorized
                            [term_group] => 0
                            [term_taxonomy_id] => 1
                            [taxonomy] => category
                            [description] => 
                            [parent] => 10
                            [count] => 7
                            [filter] => raw
                        )

                    [secondcat] => Array
                        (
                            [term_id] => 2
                            [name] => Second Cat
                            [slug] => secondcat
                            [term_group] => 0
                            [term_taxonomy_id] => 2
                            [taxonomy] => category
                            [description] => 
                            [parent] => 1
                            [count] => 1
                            [filter] => raw
                        )

                )

        )

)
This webhook trigger is used to send data, on trashing a post, to one or multiple given webhook URL's.
This description is uniquely made for the Send Data On Post Trash (post_trash) webhook trigger.

How to use Send Data On Post Trash (post_trash)

  1. To get started, you need to add your receiving URL endpoint, that accepts webhook requests, from the third-party provider or service you want to use.
  2. Once you have this URL, please place it into the Webhook URL field above.
  3. For better identification of the webhook URL, we recommend to also fill the Webhook Name field. This field will be used as the slug for your webhook URL. In case you leave it empty, we will automatically generate a random number as an identifier.
  4. After you added your Webhook URL, press the Add button to finish adding the entry.
  5. That's it! Now you can receive data on the URL once the trigger fires.
  6. Next to the Webhook URL, you will find a settings item, which you can use to customize the payload/request.


When does this trigger fire?


This trigger is registered on the trashed_post hook: https://developer.wordpress.org/reference/hooks/trashed_post/

Here is the call within our code we use to fire this trigger:
add_action( 'trashed_post', array( $this, 'ironikus_trigger_post_trash_init' ), 10, 1 );
IMPORTANT: Please note that this webhook does not fire, by default, once the actual trigger (trashed_post) is fired, but as soon as the WordPress shutdown hook fires. This is important since we want to allow third-party plugins to make their relevant changes before we send over the data. To deactivate this functionality, please go to our Settings and activate the Deactivate Post Trigger Delay settings item. This results in the webhooks firing straight after the initial hook is called.


Tipps

  1. Important: Please note that in case this trigger does not fire, either your post type does not support the trash status, or automatic cleaning time is reached.
  2. In case you don't need a specified webhook URL at the moment, you can simply deactivate it by clicking the Deactivate link next to the Webhook URL. This results in the specified URL not being fired once the trigger fires.
  3. You can use the Send demo button to send a static request to your specified Webhook URL. Please note that the data sent within the request might differ from your live data.
  4. Within the Settings link next to your Webhook URL, you can use customize the functionality of the request. It contains certain default settings like changing the request type the data is sent in, or custom settings, depending on your trigger. An explanation for each setting is right next to it. (Please don't forget to save the settings once you changed them - the button is at the end of the popup.)
  5. You can also check the response you get from the demo webhook call. To check it, simply open the console of your browser and you will find an entry there, which gives you all the details about the response.


In case you would like to learn more about our plugin, please check out our documentation at:
https://ironikus.com/docs/article-categories/get-started/
This webhook fires after a custom action was called. For more information, please check the description.
Webhook Name Webhook URL Action

Add

Here is an example of all the available default fields that are sent after the trigger is fired. The fields may vary based on custom extensions or third party plugins.

Array
(
    [0] => Your very own data construct.
)
This webhook trigger is used to send data, on a custom action, to one or multiple given webhook URL's.
This description is uniquely made for the Send Data On Custom Action (custom_action) webhook trigger.

How to use Send Data On Custom Action (custom_action)

  1. To get started, you need to add your receiving URL endpoint, that accepts webhook requests, from the third-party provider or service you want to use.
  2. Once you have this URL, please place it into the Webhook URL field above.
  3. For better identification of the webhook URL, we recommend to also fill the Webhook Name field. This field will be used as the slug for your webhook URL. In case you leave it empty, we will automatically generate a random number as an identifier.
  4. After you added your Webhook URL, press the Add button to finish adding the entry.
  5. Next to the Webhook URL, you will find a settings item, which you can use to customize the payload/request.
  6. That's it for the visual setup. Now you need to add a custom WordPress action call within your code to trigger this trigger. Down below you will find more details.


When does this trigger fire?


This trigger is registered on the wp_webhooks_send_to_webhook hook, which isn't fired by default.

Here is the call within our code we use to fire this trigger:
add_action( 'wp_webhooks_send_to_webhook', array( $this, 'wp_webhooks_send_to_webhook_action' ), 10, 2 );
IMPORTANT: Please note that this webhook trigger is fired immediately after the do_action( 'wp_webhooks_send_to_webhook' ) function is called.


How to fire this trigger?


You can fire the trigger wherever you want within your PHP code. The only necessity is, that our plugin is fully initialized by WordPress. Here is a code example:
$custom_data = array(
	'data_1' => 'value'
);
$webhook_names = array(
	'15792546059992909'
);

do_action( 'wp_webhooks_send_to_webhook', $custom_data, $webhook_names );
The do_action() function accepts three parameters, which are explained down below:
  1. 'wp_webhooks_send_to_webhook' (string)
    This is our trigger identifier so that our plugin knows when to fire the webhook. Please don't change this value.
  2. $custom_data (array)
    This variable contains an array of data you want to send over to each of the webhook URL's (payload). Depending on your Webhook URL specific settings, it will be sent in different formats (default JSON).
  3. $webhook_names (array)
    This variable contains an array with Webhook URLs this trigger should fire on. To add a trigger, add the Webhook Name to the array. If you don't send over the this argument at all, all webhook URL's for this webhook trigger will be triggered.

Tipps

  1. In case you don't need a specified webhook URL at the moment, you can simply deactivate it by clicking the Deactivate link next to the Webhook URL. This results in the specified URL not being fired once the trigger fires.
  2. You can use the Send demo button to send a static request to your specified Webhook URL. Please note that the data sent within the request might differ from your live data.
  3. Within the Settings link next to your Webhook URL, you can use customize the functionality of the request. It contains certain default settings like changing the request type the data is sent in, or custom settings, depending on your trigger. An explanation for each setting is right next to it. (Please don't forget to save the settings once you changed them - the button is at the end of the popup.)
  4. You can also check the response you get from the demo webhook call. To check it, simply open the console of your browser and you will find an entry there, which gives you all the details about the response.


In case you would like to learn more about our plugin, please check out our documentation at:
https://ironikus.com/docs/article-categories/get-started/