• Hi!

    Many thanks for your job. It’s traditional feature – “shortcode”
    or… can you give instruction to get html from link in PHP?
    I have link “google.com” and i need to get html of preview box, something like:

    <?php
    $link = ‘google.com’;
    $html = get_link_preview_html(‘google.com’);
    ?>

Viewing 1 replies (of 1 total)
  • Plugin Author Kishan

    (@kgajera)

    Thanks for the suggestion. I just pushed a new version, 1.3, which supports shortcode. Here’s an example:

    <?php echo do_shortcode( '[wplinkpreview url="google.com"]' ); ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Shortcode or action’ is closed to new replies.