easy-watermark/placeholders/load
-
I am trying to make a custom placeholder. Is this snippet in active theme function.php still works. Tried to debug in a various ways – seems that not.
Snippet bellow. Thanks
add_action( ‘easy-watermark/placeholders/load’, function ( $resolver ) {
// Add custom placeholder instance to the resolver.
$resolver->add_placeholder( new FavoriteColorPlaceholder() );
} );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘easy-watermark/placeholders/load’ is closed to new replies.