DataPress (Dataverse Integration) 2.98 has 11 actions and 34 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 DataPress (Dataverse Integration) fires an action
add_action( 'integration-cds/settings/updated', function( $settings, $arg2 ) {
// Your code runs here.
}, 10, 2 );
// Change a value DataPress (Dataverse Integration) is about to use
add_filter( 'integration-cds/addons', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );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
-
/** * Fires after a Settings object has been persisted in the database. */ do_action( 'integration-cds/settings/updated', $settings, false ); -
/** * Filters the collection of plugin addons. */ apply_filters( 'integration-cds/addons', [] ); -
/** * Filters the base URL the Admin UI assets are loaded from. */ apply_filters( 'integration-cds/admin/asset-path', $assetPath ); -
/** * Filters the list of notice which should be shown at Gutenberg editor page. */ apply_filters( 'integration-cds/admin/gutenberg-notice', [] ); -
/** * Filters the list Javascript variable to be registered in admin area. */ apply_filters( 'integration-cds/admin/js-variables', $globals ); -
/** * Filters the list of Javascript files to be registered in admin area. */ apply_filters( 'integration-cds/admin/scripts', $scripts ); -
/** * Filters the list of available settings. */ apply_filters( 'integration-cds/admin/settings', [] ); -
/** * Filters the list of CSS files to be registered in admin area. */ apply_filters( 'integration-cds/admin/styles', $styles ); -
/** * Filters the collection of available API endpoints. */ apply_filters( 'integration-cds/api/endpoints', $endpoints ); -
/** * Filters a list of cache delete handlers. */ apply_filters( 'integration-cds/cache/delete-handlers', [ 'fetchxml' => [ $this, 'clearFetchxmlCache' ], 'entityrecords' => [ $this, 'clearEntityRecordsCache' ], 'twig' => TwigProvider::instance()->clearCache(), 'metadata' => [ $this, 'clearMetadataCache' ], ] ); -
/** * Filters the registered cache pools. */ apply_filters( 'integration-cds/cache/pools', [ self::DEFAULT_POOL, 'webapi', 'metadata', 'data', 'fetchxml', 'entityrecords', ] ); -
/** * Filters the list of entities which must be pre-cached. */ apply_filters( 'integration-cds/cache/warmup-entities', [] ); -
/** * Filters the directories allowed to serve debug scripts with source maps. */ apply_filters( 'integration-cds/debug/script-roots', [ ICDS_DIR => ICDS_URL, ] ); -
/** * Filters direct access to the CRM records via entitity vatiable. */ apply_filters( "integration-cds/entity/authorize-access-{$entityName}", true, $record ); -
/** * Fires before custom form submission. */ do_action( 'integration-cds/forms/before-submit', $formClone, $record ); -
/** * Allows altering the list of accepted fields. */ apply_filters( 'integration-cds/forms/fields', array_keys( $data ) ); -
/** * Fires if error occurs while submitting custom form. */ do_action( 'integration-cds/forms/submit-error', $formClone, $record, $e ); -
/** * Fires after custom form was successfully submitted. */ do_action( 'integration-cds/forms/submit-success', $formClone, $record ); -
/** * Filters the default form validation. */ apply_filters( 'integration-cds/forms/validate', $validationResult, $data, $formClone ); -
/** * Fires after DataPress has been initialized. */ do_action( 'integration-cds/initialized' ); -
/** * Filters the data required for api.js. */ apply_filters( 'integration-cds/js/api-defaults', [ 'contentBaseUrl' => ICDS_URL, 'endpointBaseUrl' => get_rest_url(), 'nonce' => wp_create_nonce( 'wp_rest' ), ] ); -
/** * Filters the effective logging verbosity. */ apply_filters( 'integration-cds/logging/level', $logLevel ); -
/** * Allows modifying connection proxy settings. */ apply_filters( 'integration-cds/proxy', $proxyString ); -
/** * Filters the list of Javascript files to be registered in frontend pages. */ apply_filters( 'integration-cds/public/scripts', [ 'icds/custom-form' => [ 'src' => ICDS_URL . 'front/custom-form/custom-form.umd.min.js', 'dependencies' => [], 'version' => ICDS_VERSION, 'inFooter' => true, ], ] ); -
/** * Filters the list of CSS files to be registered in frontend pages. */ apply_filters( 'integration-cds/public/styles', [ 'icds/public-forms' => [ 'src' => ICDS_URL . 'assets/css/forms.css', 'dependencies' => [], 'version' => ICDS_VERSION, ], ] ); -
/** * Filters the list of available adapters for reCAPTCHA settings. */ apply_filters( 'integration-cds/recaptcha/settings/adapters', $adapters ); -
/** * Filters the list of registered advanced settings. */ apply_filters( 'integration-cds/settings/advanced', [] ); -
/** * Filters the list of registered settings. */ apply_filters( 'integration-cds/settings/map', $this->settingsMap ); -
/** * Filters the list of supported shortcodes and their respective * implementations */ apply_filters( 'integration-cds/shortcode/implementations', $this->shortcodes ); -
/** * Allows extending the list of available Twig template loaders. */ do_action( 'integration-cds/twig/add-loaders', $chainLoader ); -
/** * Triggered after default global variables are set up. */ do_action( 'integration-cds/twig/after-globals', $twigEnv ); -
/** * Filters the collection of Twig filters for inclusion into Twig via * extension. */ apply_filters( 'integration-cds/twig/filters', $filters ); -
/** * Filters the collection of Twig functions for inclusion into Twig via * extension. */ apply_filters( 'integration-cds/twig/functions', $functions ); -
/** * Fired when Twig environment has been set up in the shortcode. */ do_action( 'integration-cds/twig/ready', $twigEnv ); -
/** * Filters the collection of Twig template paths. */ apply_filters( 'integration-cds/twig/templates', $templatePaths ); -
/** * Filters the collection of token parser implementations. */ apply_filters( 'integration-cds/twig/token-parsers', [] ); -
/** * Filters the collection of token parser implementations for inclusion into * Twig via extension. */ apply_filters( 'integration-cds/twig/token-parsers-ext', $parsers ); -
do_action( 'qm/stop', 'icds/init' ); -
do_action( 'qm/start', 'icds/init' ); -
apply_filters( 'integration-cds/admin/extensions', [] ); -
apply_filters( 'integration-cds/cache/pool-labels', [ 'metadata' => 'Metadata', 'fetchxml' => 'FetchXML', 'forms' => 'Forms', 'views' => 'Views', 'twig' => 'Twig templates', 'entityrecords' => 'Table Records', '__misc' => 'Misc', ] ); -
apply_filters( 'integration-cds/public/scripts/localize', [] ); -
apply_filters( 'integration-cds/settings/export-types', [ 'binding' => 'Page Binding', 'forms' => 'Forms', 'logging' => 'Logging', 'recaptcha' => 'reCAPTCHA', 'languages' => 'Languages', 'userBinding' => 'User Binding', 'formRegistrations' => 'Dataverse forms registrations', 'twigTemplates' => 'Twig templates', 'fetchXmlTemplates' => 'FetchXML templates', 'cache' => 'Cache', ] ); -
do_action( 'wpml_register_single_string', 'twig-translations', $value, $value ); -
apply_filters( 'wpml_translate_single_string', $value, 'twig-translations', $value );
Generated from DataPress (Dataverse Integration)'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: