🚀 Hostinger Optimized
🖥️ Server: Apache
💻 System: Linux webm015.cluster127.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
👤 User: stakrfrcol (69043)
🐘 PHP: 8.3.31
🚫 Disabled: _dyuweyrj4,_dyuweyrj4r,dl

💻 Terminal

📁 /home/stakrfrcol/agency
$

📄 input.js

📁 Path: /home/stakrfrcol/agency/wp-content/themes/xhyre/includes/acf/pbminfotech-acf-iconpicker/js/input.js
📊 Size: 1.2 KB
🔒 Perm: 0644
📝 MIME: text/x-asm
(function($){
	function appendIconOptions(){
		jQuery('select.pbmit-iconpicker').each(function(){
			var thisele 		= jQuery(this);
			var lib				= jQuery(this).data('library');
			var class_prefix	= jQuery(this).data('class-prefix');
			var common_class	= jQuery(this).data('common-class');
			var selected		= jQuery(this).data('selected');
			if( typeof window[ 'iconarray_'+lib ]  != 'undefined' ){
				jQuery.each( window[ 'iconarray_'+lib ], function(key, value){
					jQuery( thisele )
						.append(jQuery("<option></option>")
						.attr("value", common_class + ' ' + class_prefix + value)
						.text(value)
					); 
				});
				jQuery( thisele )
					.val( selected );
			}
		});
	}
	function enableFontIconPickerFor($el) {
		appendIconOptions();
		$el.find('.acf-iconpicker').each(function(){
			if ( !$(this).parents('.acf-clone').length ){
				// Let's iconpick!!!
				$(this).fontIconPicker();
			}
		});
	}
	if( typeof acf.add_action !== 'undefined' ) {
		// ACF5
		acf.add_action('ready append', function( $el ){
			enableFontIconPickerFor($el);
		}); 
	} else {
		// ACF4
		$(document).on('acf/include_fields acf/setup_fields', function(e, postbox){
			enableFontIconPickerFor($(postbox));
		});
	}
})(jQuery);
← Back📥 Raw✏️ Edit🔒 Chmod
✨ File Manager Magic ✨