BP_Core_oEmbed_Extension::validate_url_to_item_id( string $url )

Validate the URL to see if it matches your item ID.

Description

Parameters

$url

(string) (Required) URL to validate.

Return

(int) Your item ID

Source

File: bp-core/classes/class-bp-core-oembed-extension.php

	abstract protected function validate_url_to_item_id( $url );

Changelog

Changelog
Version Description
BuddyPress 2.6.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.