src/WooCommerce/WooCommerce2/Invoice/Creator.php
public function getSourceMeta($property)
    {
        $value = get_post_meta($this->invoiceSource->getId(), $property, true);
        // get_post_meta() can return false or ''.
        if (empty($value)) {
            // Not found: indicate so by returning null.
            $value = null;
        }
        return $value;
    }
public function getSourceMeta($property)
    {
        $value = get_post_meta($this->invoiceSource->getId(), $property, true);
        // get_post_meta() can return false or ''.
        if (empty($value)) {
            // Not found: indicate so by returning null.
            $value = null;
        }
        return $value;
    }
public function getSourceMeta ( $ property ) { $ value = get_post_meta ( $ this -> invoiceSource -> getId ( ) , $ property , true ) ; // get_post_meta() can return false or ''. if ( empty ( $ value ) ) { // Not found: indicate so by returning null. $ value = null ; } return $ value ; }
Token callback to access the post meta when resolving tokens.

@param string $property

@return null|string
The value for the meta data with the given name, null if not available.
Token callback to access the post meta when resolving tokens .