Archives

Checkout: See how many items are in the cart

Use this code snippet to check how many items are in the shopping cart. If it returns zero (0) there aren’t any items in the cart at the moment.

Continue Reading

Checkout: Code Snippets

WordPress Shopping Cart plugin code snippets Shopping Cart Check how many items are in the shopping cart

Continue Reading

Checkout: Action – checkout_order_finished

Description checkout_order_finished action hook is fired when an order is finished. Arguments $order_id (The ID of the order which is completed eg. 123) $pmethod (The slug of the payment method which is used eg. pp) $paid (Paid status eg. Y or N) Example

Continue Reading

Newsletters: Filter – wpml_send_body

Description The wpml_send_body filter is used to filter the body/content of an email just before it is sent by the Newsletter plugin to the subscriber. It applies disregarding of the mail type you are using to send the emails. Usage View the code on Gist. Arguments $body (The body/content of the email) $phpmailer (The phpMailer Continue Reading…

Continue Reading

Newsletters: Action – wpml_subscriber_saved

Description wpml_subscriber_saved action hook is fired when a subscriber is saved (created or updated). Arguments $subscriber_id (ID of the subscriber that was saved). $data (The data Array used to save the subscriber). Example

Continue Reading

WordPress Plugins

Start selling products, sending newsletters, publishing ads, and more through your own WordPress website using our premium WordPress plugins.

Browse

Pin It on Pinterest