Auto Featured Image (Auto Post Thumbnail) icon
Content & Editing

Auto Featured Image (Auto Post Thumbnail) hooks reference

  • By Themeisle
  • v5.0.10 New
  • Updated

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.

functions.phpyour child theme
// 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

  • src/Modules/Admin/Main.php line 337 · used in 2 places
    apply_filters( 'product_apt_license_plan', 0 );
  • src/Modules/Admin/Main.php line 336 · used in 2 places
    apply_filters( 'product_apt_license_status', 'invalid' );
  • src/Services/Apt.php line 568 · used in 2 places
    apply_filters( 'wapt/generate/image', false, $title, $uploads['path'] . "/$filename", $extension );
  • src/Utils/Remote.php line 105
    apply_filters( 'http_request_host_is_external', false, $host, $url );
  • src/Services/Image_Generator.php line 295
    apply_filters( 'image_generator_final_text', $full_text, $text, $params );
  • src/Services/Image_Generator.php line 340
    apply_filters( 'image_generator_image', $image, $params );
  • src/Modules/Admin/Main.php line 379
    apply_filters( 'product_apt_license_key', false );
  • src/Loader.php line 158
    do_action( 'themeisle_internal_page', WAPT_PRODUCT_SLUG, $page );
  • src/Constants/Options_Schema.php line 199
    apply_filters( 'wapt_options_schema', $schema );
  • src/Routes/Settings.php line 102
    do_action( 'wapt_settings_updated', $data['settings'] );
  • src/Services/Apt.php line 555
    apply_filters( 'wapt/generate/title', $post->post_title, $post_id );
  • src/Services/Image_Generator.php line 215
    apply_filters( 'wapt/image_generator_defaults', $defaults );
  • src/Services/Image_Generator.php line 275
    apply_filters( 'wapt/image_generator_params', $params, $text );
  • src/Settings.php line 76
    do_action( 'wapt/option_updated', $key, $sanitized_value, $old_value, $status );
  • src/IO.php line 22
    do_action( 'wapt/plugin_activated' );
  • src/IO.php line 37
    do_action( 'wapt/plugin_deactivated' );
  • src/Routes/Settings.php line 139
    apply_filters( 'wapt/preview_font_path', $font_path, $preview_settings );
  • wapt/sources

    filter
    src/Services/Apt.php line 70
    apply_filters( 'wapt/sources', $this->sources, $context );
  • src/Modules/Admin/Posts_List_Table.php line 285
    do_action( 'wapt/upload_and_replace_post_images', $post_id );
  • src/Modules/Api.php line 38
    apply_filters( 'wpapt_api_routes', [ 'log' => Log::class, 'generate' => GenerateRoute::class, 'settings' => Settings::class, 'fonts' => Fonts::class, ] );
  • src/Asset.php line 160
    apply_filters( 'wpapt_localize_script', $data, $this->handle );
  • wpapt_modules

    filter
    src/Loader.php line 101
    apply_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: