AffStackDev Image Manager 1.9.2 has 3 actions and 12 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 AffStackDev Image Manager fires an action
add_action( 'afsd_im_backup_completed', function( $item ) {
// Your code runs here.
}, 10, 1 );
// Change a value AffStackDev Image Manager is about to use
add_filter( 'afsd_im_admin_sections', 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
-
/** * Filters the tabs that code extending Image Manager adds to its page. */ apply_filters( 'afsd_im_admin_sections', array() ); -
/** * Filters whether AI assistants may use Image Manager through WordPress's * Abilities API and its MCP address. */ apply_filters( 'afsd_im_ai_enabled', ! empty( Settings::get()['ai_assistants'] ) ); -
/** * Filters whether a site-local page address may be read as a public page * (public-page scans and delivery checks). Anything other than true excludes * the page. */ apply_filters( 'afsd_im_allow_public_page', true, $url, $id ); -
/** * Fires after a local backup snapshot is finished, verified and added to the * snapshot index. */ do_action( 'afsd_im_backup_completed', $item ); -
/** * Fires once after Image Manager has booted, before it announces its contract: * where code that extends Image Manager starts. */ do_action( 'afsd_im_booted' ); -
/** * Filters the WP-Cron hooks of code that extends Image Manager; deactivation * clears them too. */ apply_filters( 'afsd_im_extension_events', array() ); -
/** * Filters the pages Image Manager measures for Pictures sized to fit the page: * Home and the public pages its scan found. Every address must still be one of * this site's public pages (the same rule as the scan); others are dropped. */ apply_filters( 'afsd_im_fit_pages', $out ); -
/** * Filters whether the site logo, seen in anonymous public page HTML, counts as * a public image. */ apply_filters( 'afsd_im_public_logo_allowed', true, (int) $row['attachment_id'], $row ); -
/** * Filters whether a published, publicly viewable post, page or product counts * as a public owner of its images. Providers may veto; a grant cannot override * a private or password-protected native owner, which is refused before. */ apply_filters( 'afsd_im_public_owner_allowed', true, $id, $p ); -
/** * Filters whether a theme image carried over from an earlier release's record * (its copies keep their earlier names) may still be treated as public. */ apply_filters( 'afsd_im_public_theme_image_allowed', true, $row ); -
/** * Fires once, after Image Manager has booted, with its descriptive contract. */ do_action( 'afsd_im_ready', has_action( 'afsd_im_ready' ) || has_action( 'all' ) ? self::contract() : array() ); -
/** * Filters the reviewed actions that code extending Image Manager adds, by the * prefix of their names. */ apply_filters( 'afsd_im_reviewed_extensions', array() ); -
/** * Filters the secret inputs that code extending Image Manager adds to the AI * inputs screen. */ apply_filters( 'afsd_im_secret_kinds', array() ); -
/** * Filters whether a theme image seen on public pages is eligible for * optimization and delivery. */ apply_filters( 'afsd_im_theme_source_allowed', true, (int) $row['id'], $row['details'] ); -
/** * This filter is documented in wp-admin/includes/image.php */ apply_filters( 'intermediate_image_sizes_advanced', wp_get_registered_image_subsizes(), $meta, $id );
Generated from AffStackDev Image Manager'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: