Add Block programmatically: What IP encoding method

[ad_1]

I would like to add IPs to _wfblocks7 programmatically to provide an easy for for WC Shop Managers to block fraudsters.
However, I can’t seem to get it encoded into the proper IPV6/HEX format.
SPAMMER example:
How do I convert 98.208.240.124 to 00000000000000000000ffff62d0f07c so I can save it to the database.
What method or function should I use?
#paidWFcustomer

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer