Togra ContentFlow 1.0.2 has 15 actions and 23 filters, read directly from its source code on Nov 19, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Togra ContentFlow fires an action
add_action( 'togra_contentflow_after_workflow_execute', function( $workflow, $context, $execution_id, $arg4 ) {
// Your code runs here.
}, 10, 4 );
// Change a value Togra ContentFlow is about to use
add_filter( 'togra_contentflow_admin_header_links', function( $value, $togra_contentflow_current_page ) {
// Change $value here.
return $value;
}, 10, 2 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * This action is documented in includes/execution/class-execution-engine.php */ do_action( 'togra_contentflow_after_workflow_execute', $workflow, $context, $execution_id, array( 'run' => 0, 'failed' => 0, 'skipped' => true, 'results' => array(), ) ); -
/** * Fires after the plugin has been activated on a site. */ do_action( 'togra_contentflow_activated' ); -
/** * Filters the buttons shown in the top right of the admin header. */ apply_filters( 'togra_contentflow_admin_header_links', array(), $togra_contentflow_current_page ); -
/** * Filters the result of an action. */ apply_filters( 'togra_contentflow_after_action_execute', $result, $action_id, $settings, $context, $execution_id ); -
/** * Filters the outcome of a single condition. */ apply_filters( 'togra_contentflow_after_condition_evaluate', $result, (string) $config['id'], $config, $context ); -
/** * Fires before an action runs. */ do_action( 'togra_contentflow_before_action_execute', $action_id, $settings, $context, $execution_id ); -
/** * Fires before a condition is evaluated. */ do_action( 'togra_contentflow_before_condition_evaluate', (string) $config['id'], $config, $context ); -
/** * Fires before a workflow evaluates its conditions and runs its actions. */ do_action( 'togra_contentflow_before_workflow_execute', $workflow, $context, $execution_id ); -
/** * Filters the capability required for a plugin action. */ apply_filters( 'togra_contentflow_capability', $capability ); -
/** * Filters the outcome of a workflow's condition evaluation. */ apply_filters( 'togra_contentflow_conditions_passed', $outcome, $workflow, $context, $this->results ); -
/** * Fires after the plugin has been deactivated. */ do_action( 'togra_contentflow_deactivated' ); -
/** * Filters the roles granted plugin capabilities on activation. */ apply_filters( 'togra_contentflow_default_roles', array( 'administrator' ) ); -
/** * Filters whether other plugins' notices are hidden on this plugin's screens. */ apply_filters( 'togra_contentflow_hide_foreign_admin_notices', true ); -
/** * Filters the declared integrations. */ apply_filters( 'togra_contentflow_integrations', self::$definitions ); -
/** * Fires once the plugin has registered its hooks. */ do_action( 'togra_contentflow_loaded', $this ); -
/** * Filters a log entry before it is written. */ apply_filters( 'togra_contentflow_log_entry', $args ); -
/** * Filters how many days of execution history are kept. */ apply_filters( 'togra_contentflow_log_retention_days', $days ); -
/** * Filters whether workflow logging is enabled. */ apply_filters( 'togra_contentflow_logging_enabled', $enabled ); -
/** * Fires so add-ons can register their own actions. */ do_action( 'togra_contentflow_register_actions', __CLASS__ ); -
/** * Fires so add-ons can register their own conditions. */ do_action( 'togra_contentflow_register_conditions', __CLASS__ ); -
/** * Fires so add-ons can register their own integrations. */ do_action( 'togra_contentflow_register_integrations', __CLASS__ ); -
/** * Fires so add-ons can register their own triggers. */ do_action( 'togra_contentflow_register_triggers', __CLASS__ ); -
/** * Filters the sanitized workflow data. */ apply_filters( 'togra_contentflow_sanitized_workflow', $clean, $data ); -
/** * Filters the cron hooks cleared on deactivation. */ apply_filters( 'togra_contentflow_scheduled_hooks', array() ); -
/** * Filters the tokens listed in the admin. */ apply_filters( 'togra_contentflow_supported_tokens', $tokens ); -
/** * Filters whether a token group is offered for a trigger in the picker. */ apply_filters( 'togra_contentflow_token_group_fits', $fits, $group, $trigger_id ); -
/** * Filters whether a custom field may be read by a token. */ apply_filters( 'togra_contentflow_token_meta_readable', true, $type, $key ); -
/** * Filters a resolved token value. */ apply_filters( 'togra_contentflow_token_value', $value, $group, $field, $context ); -
/** * Filters the triggers that carry a user but no post. */ apply_filters( 'togra_contentflow_user_triggers', array( 'user_registered', 'user_login', 'user_role_changed', 'user_logout', 'user_password_reset', 'user_profile_updated', 'user_meta_updated', 'user_deleted', 'schedule', 'webhook_received' ) ); -
/** * Filters the workflow validation result. */ apply_filters( 'togra_contentflow_validate_workflow', $errors, $data, $is_update ); -
/** * Filters the data a webhook sends. */ apply_filters( 'togra_contentflow_webhook_payload', $payload, $settings, $context ); -
/** * Fires after a workflow has been created. */ do_action( 'togra_contentflow_workflow_created', $workflow_id, $data ); -
/** * Fires after a workflow has been deleted. */ do_action( 'togra_contentflow_workflow_deleted', $workflow_id ); -
/** * Fires after a workflow status has changed. */ do_action( 'togra_contentflow_workflow_status_changed', absint( $workflow_id ), $status ); -
/** * Filters the workflow statuses the plugin accepts. */ apply_filters( 'togra_contentflow_workflow_statuses', $statuses ); -
/** * Filters the starter templates. */ apply_filters( 'togra_contentflow_workflow_templates', $templates ); -
/** * Fires after a workflow has been updated. */ do_action( 'togra_contentflow_workflow_updated', $workflow_id, $data ); -
apply_filters( 'illegal_user_logins', array() );
Generated from Togra ContentFlow's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: