IPS Order Media Cleanup 1.2.19 has 6 actions and 30 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 IPS Order Media Cleanup fires an action
add_action( 'ipscmi_corekit_loaded', function() {
// Your code runs here.
}, 10, 1 );
// Change a value IPS Order Media Cleanup is about to use
add_filter( 'ipscmi_corekit_system_status_capability', 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
-
apply_filters( 'ipscmi_corekit_system_status_capability', 'manage_options' ); -
apply_filters( 'ipscmi_order_mediacleanup_reference_option_excluded_prefixes', [ '_transient_', '_site_transient_', '_wc_session_', 'woocommerce_cache_', ] ); -
apply_filters( 'ipscmi_order_mediacleanup_replaceable_reference', $replaceable, $reference ); -
do_action( 'ipscmi_corekit_loaded' ); -
apply_filters( 'ipscmi_corekit_loader_priorities', array() ); -
apply_filters( 'ipscmi_corekit_plugin_action_links', $links, (bool) $is_premium, $plugin_slug ); -
ipscmi_corekit_system_status_dbinfo_include_tables
filter Used by 3 plugins → Copy link Customise this hookapply_filters( 'ipscmi_corekit_system_status_dbinfo_include_tables', true ); -
ipscmi_corekit_system_status_dbinfo_tables_limit
filter Used by 3 plugins → Copy link Customise this hookapply_filters( 'ipscmi_corekit_system_status_dbinfo_tables_limit', 20 ); -
ipscmi_corekit_system_status_full_phpinfo
filter Used by 3 plugins → Copy link Customise this hookapply_filters( 'ipscmi_corekit_system_status_full_phpinfo', false ); -
ipscmi_corekit_system_status_log_max_size
filter Used by 3 plugins → Copy link Customise this hookapply_filters( 'ipscmi_corekit_system_status_log_max_size', 8 * MB_IN_BYTES ); -
apply_filters( 'ipscmi_corekit_system_status_log_paths', $log_paths ); -
apply_filters( 'ipscmi_corekit_system_status_server_cron', false ); -
do_action( 'ipscmi_order_mediacleanup_analysis_completed', $completed ); -
apply_filters( 'ipscmi_order_mediacleanup_analysis_result', [], $result, $run ); -
apply_filters( 'ipscmi_order_mediacleanup_analysis_run_params', [], $run_params ); -
apply_filters( 'ipscmi_order_mediacleanup_image_key_tokens', $tokens ); -
apply_filters( 'ipscmi_order_mediacleanup_image_post_meta_keys', $keys ); -
apply_filters( 'ipscmi_order_mediacleanup_image_term_meta_keys', $keys ); -
apply_filters( 'ipscmi_order_mediacleanup_post_content_replacement_pairs', $pairs, $from_attachment_id, $to_attachment_id, $reference ); -
apply_filters( 'ipscmi_order_mediacleanup_reference_audit_postmeta_keys', $keys ); -
apply_filters( 'ipscmi_order_mediacleanup_reference_index_sources', $sources, $this->settings, $this->matcher ); -
apply_filters( 'ipscmi_order_mediacleanup_reference_replacement_pairs', $pairs, $from_attachment_id, $to_attachment_id, $reference ); -
apply_filters( 'ipscmi_order_mediacleanup_reference_sources', $sources, $this->settings, $this->urls ); -
apply_filters( 'ipscmi_order_mediacleanup_run_retention_days', 30 ); -
apply_filters( 'ipscmi_order_mediacleanup_unused_cleanup_plan_limit', 500 ); -
apply_filters( 'ipscmi_order_mediacleanup_usage_option_excluded_prefixes', [ '_transient_', '_site_transient_', '_wc_session_', 'woocommerce_cache_', ] ); -
apply_filters( 'ipscmi_order_mediacleanup_usage_post_types', array_values($post_types) ); -
apply_filters( 'ipscmi_order_mediacleanup_usage_term_meta_key_tokens', $tokens ); -
apply_filters( 'ipscmi_order_mediacleanup_usage_term_meta_keys', $keys ); -
do_action( 'post_updated', $object_id, $post, $old ); -
do_action( 'save_post', $object_id, $post, true ); -
do_action( "save_post_{$post->post_type}", $object_id, $post, true ); -
do_action( 'wp_insert_post', $object_id, $post, true );
Generated from IPS Order Media Cleanup'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: