Skip to content
ClanbiteDevelopers
GuidesReferenceREST APIReleases
Clanbite.com

Reference

  • Hooks598
  • Functions491
  • Classes133
  • Methods1,439
  • REST API88
  • Blocks58
  • Abilities22
  • Settings12
  • Messages60
  • Components9
  • Database tables20
  • Releases
  1. Home
  2. Reference
  3. Methods
  4. Link_Preview::fetch_for_url()

Clanbite Social Kit

fetch_for_url( string $url ): array<string, string>|null

Fetch title, description, image, site name for a public HTTP(S) URL.

public static

Class: Kernowdev\ClanbiteSocialKit\Social\Link_Preview

Parameters

$url (string) Required

Absolute URL.

Returns

array<string, string>|null

Defined in inc/Social/Link_Preview.php

In this article

  • Parameters
  • Returns
  • View as Markdown
  • Back to top
Generated from the source of every Clanbite release. Something missing or unclear? It is fixed in the code and appears here with the next release.Clanbite.com