Easy Watermark 1.0.11 has 10 actions and 13 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 Easy Watermark fires an action
add_action( 'easy-watermark/print-preview', function( $type, $format, $size ) {
// Your code runs here.
}, 10, 3 );
// Change a value Easy Watermark is about to use
add_filter( 'easy-watermark/should-apply-watermark', function( $value, $watermark, $attachment_id, $attachment, $meta, $applied_watermarks ) {
// Change $value here.
return $value;
}, 10, 6 );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
-
/** * This filter allows to programatically prevent watermarking certain * attachment if `false` returned from attached function. */ apply_filters( 'easy-watermark/should-apply-watermark', true, $watermark, $attachment_id, $attachment, $meta, $applied_watermarks ); -
easy-watermark/print-preview
actiondo_action( 'easy-watermark/print-preview', $type, $format, $size ); -
do_action( 'easy-watermark/attachment-metabox-content', $watermarks ); -
apply_filters( 'easy-watermark/available-backuppers', $backuppers ); -
apply_filters( 'easy-watermark/available-processors', $processors ); -
do_action( "easy-watermark/dashboard/{$current_tab}/content" ); -
apply_filters( "easy-watermark/dashboard/{$current_tab}/view-args", [] ); -
do_action( "easy-watermark/dashboard/{$tab}/notices" ); -
do_action( 'easy-watermark/dashboard/content', $current_tab ); -
do_action( 'easy-watermark/dashboard/notices', $tab ); -
apply_filters( 'easy-watermark/dashboard/tabs', [] ); -
easy-watermark/font-path
filterapply_filters( 'easy-watermark/font-path', $path, $font ); -
apply_filters( 'easy-watermark/local-backupper-dir', $backup_dir ); -
apply_filters( 'easy-watermark/placeholder/resolve', $this->sanitize( $value ) ); -
apply_filters( 'easy-watermark/placeholder/resolved', $this->placeholders[ $placeholder_slug ]->get_value( $this ), $this->placeholders[ $placeholder_slug ] ); -
do_action( 'easy-watermark/placeholders/load', $this ); -
apply_filters( 'easy-watermark/placeholders/resolved', $resolved, $this ); -
apply_filters( 'easy-watermark/placeholders/resolving', $value, $this ); -
do_action( 'easy-watermark/settings/register', $this ); -
do_action( "easy-watermark/settings/register/{$this->get_slug()}", $this ); -
apply_filters( 'easy-watermark/watermark-types', $types ); -
ew_load
actiondo_action( 'ew_load', $this ); -
image_size_names_choose
filterapply_filters( 'image_size_names_choose', [ 'thumbnail' => __( 'Thumbnail' ), 'medium' => __( 'Medium' ), 'medium_large' => __( 'Intermediate' ), 'large' => __( 'Large' ), 'full' => __( 'Full Size' ), ] );
Generated from Easy Watermark'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: