Auto Featured Image (Auto Post Thumbnail) 5.0.10 has 6 actions and 16 filters, read directly from its source code on Nov 17, 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 Auto Featured Image (Auto Post Thumbnail) fires an action
add_action( 'themeisle_internal_page', function( $arg1, $page ) {
// Your code runs here.
}, 10, 2 );
// Change a value Auto Featured Image (Auto Post Thumbnail) is about to use
add_filter( 'product_apt_license_plan', 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
-
product_apt_license_plan
filterapply_filters( 'product_apt_license_plan', 0 ); -
product_apt_license_status
filterapply_filters( 'product_apt_license_status', 'invalid' ); -
wapt/generate/image
filterapply_filters( 'wapt/generate/image', false, $title, $uploads['path'] . "/$filename", $extension ); -
apply_filters( 'http_request_host_is_external', false, $host, $url ); -
image_generator_final_text
filterapply_filters( 'image_generator_final_text', $full_text, $text, $params ); -
image_generator_image
filterapply_filters( 'image_generator_image', $image, $params ); -
product_apt_license_key
filterapply_filters( 'product_apt_license_key', false ); -
themeisle_internal_page
actiondo_action( 'themeisle_internal_page', WAPT_PRODUCT_SLUG, $page ); -
wapt_options_schema
filterapply_filters( 'wapt_options_schema', $schema ); -
wapt_settings_updated
actiondo_action( 'wapt_settings_updated', $data['settings'] ); -
wapt/generate/title
filterapply_filters( 'wapt/generate/title', $post->post_title, $post_id ); -
apply_filters( 'wapt/image_generator_defaults', $defaults ); -
wapt/image_generator_params
filterapply_filters( 'wapt/image_generator_params', $params, $text ); -
wapt/option_updated
actiondo_action( 'wapt/option_updated', $key, $sanitized_value, $old_value, $status ); -
wapt/plugin_activated
actiondo_action( 'wapt/plugin_activated' ); -
wapt/plugin_deactivated
actiondo_action( 'wapt/plugin_deactivated' ); -
wapt/preview_font_path
filterapply_filters( 'wapt/preview_font_path', $font_path, $preview_settings ); -
wapt/sources
filterapply_filters( 'wapt/sources', $this->sources, $context ); -
do_action( 'wapt/upload_and_replace_post_images', $post_id ); -
wpapt_api_routes
filterapply_filters( 'wpapt_api_routes', [ 'log' => Log::class, 'generate' => GenerateRoute::class, 'settings' => Settings::class, 'fonts' => Fonts::class, ] ); -
wpapt_localize_script
filterapply_filters( 'wpapt_localize_script', $data, $this->handle ); -
wpapt_modules
filterapply_filters( 'wpapt_modules', $this->modules );
Generated from Auto Featured Image (Auto Post Thumbnail)'s GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: