Dataeasy_svg_set

easy_svg_set

The icon set post type: one non-public post per set, its icons stored as JSON in post meta.

Post type · Easy SVG Pro · Status: Internal · Defined in includes/editor/sets.php

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

Usage

register_post_type( 'easy_svg_set' )

Example

$sets = get_posts( array(
	'post_type'   => 'easy_svg_set',
	'post_status' => 'publish',
	'numberposts' => -1,
) );

Description

Registered on init at priority 8 while the editor feature is on. Every capability maps to manage_options. Published sets are added to the registry as collections on init at 9; the collection slug is recorded per post id in easy_svg_pro_set_collection_slugs and can differ from post_name on older sites. Read a set's icons from _easy_svg_set_icons. Uninstall deletes every set permanently.

Do not write _easy_svg_set_icons directly: you bypass sanitizing, the set lock and the easy_svg_pro_set_icons_written action. Use the REST routes or the abilities.