• 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)
  • Plugin Author Kuba Mikita

    (@kubitomakita)

    Hi, and what’s that FavoriteColorPlaceholder class? Can you share its code?

Viewing 1 replies (of 1 total)
  • The topic ‘easy-watermark/placeholders/load’ is closed to new replies.