WordPress at a glance
function is not described

SimplePie_Enclosure::get_captions() public WP 1.0

Get all captions

{} It's a method of the class: SimplePie_Enclosure{}

No Hooks.

Return

Array|null. Array of SimplePie_Caption{} objects

Usage

$SimplePie_Enclosure = new SimplePie_Enclosure();
$SimplePie_Enclosure->get_captions();

Code of SimplePie_Enclosure::get_captions() WP 5.7.2

<?php
public function get_captions()
{
	if ($this->captions !== null)
	{
		return $this->captions;
	}

	return null;
}