{"id":16180062,"date":"2022-11-09T07:38:06","date_gmt":"2022-11-09T07:38:06","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php-function-14\/"},"modified":"2022-11-09T07:38:06","modified_gmt":"2022-11-09T07:38:06","slug":"php-function-14","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php-function-14\/","title":{"rendered":"PHP Function"},"content":{"rendered":"<p>Is there a function provided to check, if the current IP is set up in the plugin settings? E.g. I want to show some stuff only if user is logged in by the plugin.<br \/>\n(I can of course use a function based on the username as an alternative, but thought of something like &#8220;if(is_in_IP_range())&#8221; or similar.<\/p>\n","protected":false},"template":"","class_list":["post-16180062","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16180062","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16180062\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16180062"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}