REST APIeasy_svg_panel_media_state()

easy_svg_panel_media_state()

The same as easy_svg_panel_media_add(), returning only the state word.

Function · Easy SVG · Status: Internal · Defined in includes/panel.php

Internal: not part of the promised public surface. It may change without notice.

Usage

easy_svg_panel_media_state( int $id ): string

Example

$state = easy_svg_panel_media_state( $attachment_id );

Description

It stores the icon just the same.

Parameters

body
$idint

Attachment id.

Return value

returnstring

State.