Plugin Directory


Ignore:
Timestamp:
11/03/2026 11:52:29 PM (21 hours ago)
Author:
meumouse
Message:

Release 2.7.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • joinotify/trunk/admin/src/Core/Functions.php

    r3771980 r3782814  
    680680
    681681/**
     682 * Register a runtime handler that writes onto the shared payload, so what it stores reaches
     683 * the actions that run after it.
     684 *
     685 * @since 2.7.0
     686 * @param string   $slug     Action slug.
     687 * @param callable $callback Handler ($action_data, $action, $post_id, &$event_data) => bool.
     688 * @return void
     689 */
     690function joinotify_register_payload_action_handler( $slug, $callback ) {
     691        Extensions::register_payload_action_handler( $slug, $callback );
     692}
     693
     694
     695/**
    682696 * Register the canvas description builder for a custom action.
    683697 *
Note: See TracChangeset for help on using the changeset viewer.