easy_svg_icon_page()
Returns one page of stored icons, optionally searched by title and slug.
Function · Easy SVG · Status: Internal · Defined in includes/icon-manager.php
Internal: not part of the promised public surface. It may change without notice.
Usage
easy_svg_icon_page( int $page, int $per_page, string $search = '' ): array
Example
$first = easy_svg_icon_page( 1, 20, 'arrow' );
Description
Ordered by ID ascending, status publish only. A search matches post_title and, through easy_svg_icon_ids_by_slug_like(), post_name; markup is never searched.
Parameters
body
$pageint
1-based page.
body
$per_pageint
Page size.
body
$searchstring
Term or empty.
Return value
returnarray
id, slug, label, content per icon.
Related
Was this page helpful?