icons ) && ! empty( $icons->icons ) ) { foreach ( $icons->icons as $icon ) { $label = ucwords( str_replace( '-', ' ', $icon ) ); printf( '', esc_attr( $icon ), esc_attr( $label ), sprintf( /* translators: 1. Icon Name */ esc_attr__( 'Select ā€œ%sā€œ Icon', 'ayyash' ), esc_attr( $label ) ) ); } } } } die(); } /** * * Icon Generator * * @return void */ public function icon_dialog() { ?>