{"id":1410,"date":"2026-02-10T12:44:46","date_gmt":"2026-02-10T12:44:46","guid":{"rendered":"https:\/\/monkey.ploogie.co.uk\/?page_id=1410"},"modified":"2026-02-10T12:47:59","modified_gmt":"2026-02-10T12:47:59","slug":"mwnci-sitecertexp-function","status":"publish","type":"page","link":"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-sitecertexp-function\/","title":{"rendered":"Mwnci sitecertexp() Function"},"content":{"rendered":"<h2>Syntax<\/h2>\n<p>sitecertexp<strong>(<em>string<\/em>)<\/strong><\/p>\n<h2>Description<\/h2>\n<p>The <i>sitecertexp()<\/i> returns an integer representing the amount of days left before the certificate expires for the given domain.<br \/>\nIf the data cannot be read, or unable to retrieve the information, <i>false<\/i> is returned.<\/p>\n<h2>Example<\/h2>\n<pre>include(\"cert\")\r\nDays=sitecertexp(\"debian.org\")\r\nprintln(\"The cert expires in \", Days, \" days.\")\r\n\r\nThe cert expires in 59 days.\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Syntax sitecertexp(string) Description The sitecertexp() returns an integer representing the amount of days left before the certificate expires for the given domain. If the data cannot be read, or unable to retrieve the information, false is returned. Example include(&#8220;cert&#8221;) Days=sitecertexp(&#8220;debian.org&#8221;) println(&#8220;The cert expires in &#8220;, Days, &#8221; days.&#8221;) The cert expires in 59 days.<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1410","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/1410","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=1410"}],"version-history":[{"count":5,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/1410\/revisions"}],"predecessor-version":[{"id":1415,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/1410\/revisions\/1415"}],"wp:attachment":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=1410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}