= 2 ) ? '

'. $object->name .'

' : ''; foreach ( $object->icons as $icon ) { echo ''; } } else { echo '

'. esc_html__( 'Error! Can not load json file.', 'alagu' ) .'

'; } } } do_action( 'dtm_add_icons' ); do_action( 'dtm_add_icons_after' ); die(); } add_action( 'wp_ajax_cs-get-icons', 'dtm_get_icons' ); } /** * * Set icons for wp dialog * * @since 1.0.0 * @version 1.0.0 * */ if( ! function_exists( 'dtm_set_icons' ) ) { function dtm_set_icons() { echo '
'; echo '
'; echo '
'. esc_html__( 'Loading...', 'alagu' ) .'
'; echo '
'; } add_action( 'admin_footer', 'dtm_set_icons' ); add_action( 'customize_controls_print_footer_scripts', 'dtm_set_icons' ); }