Deprecated: Return type of GeoIp2\Model\AbstractModel::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u126274411/domains/rmweblab.com/public_html/wp-content/plugins/iq-block-country/vendor/geoip2/geoip2/src/Model/AbstractModel.php on line 63

Deprecated: Return type of GeoIp2\Record\AbstractRecord::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u126274411/domains/rmweblab.com/public_html/wp-content/plugins/iq-block-country/vendor/geoip2/geoip2/src/Record/AbstractRecord.php on line 57
Check if current user role is.. | RM Web Lab

Check if current user role is..

How to check if current user role is administrator or editor or author etc. below the function how I check it in wordpress.


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *