Skip to content

Instantly share code, notes, and snippets.

View angelochillemix's full-sized avatar
🇮🇹

Angelo angelochillemix

🇮🇹
View GitHub Profile
@angelochillemix
angelochillemix / load_pmi_members_list_with_web_service.php
Last active December 29, 2021 05:59
Loads PMI members list of a PMI Chapter using DEPService web service
<?php
/**
* Loads PMI members list of a PMI Chapter using DEPService web service
*
* @link https://components.pmi.org/UI/HelpDocs/HowToUseCS.pdf Component System User Guide
* @return stdClass the SOAP object returned by the web service
*
* SOAP output
*
@angelochillemix
angelochillemix / wp-attachment-url-to-path.php
Last active November 27, 2021 18:33 — forked from kamalahmed/wp-attachment-url-to-path.php
You can convert an attachment url to its absolute path in WordPress using this function.
<?php
/**
* Get the attachment absolute path from its url
*
* @param string $url the attachment url to get its absolute path
*
* @return bool|string It returns the absolute path of an attachment
*/
function attachment_url_to_path( $url )