Simon Facciol
  • Home

php

A collection of 2 posts
Wordpress - Send post data to external (3rd party) service
api

Wordpress - Send post data to external (3rd party) service

Did you ever want to send Wordpress post data as soon as a post is created, or published, or updated? Maybe even when the post is trashed or deleted? Using Wordpress hooks it's very easy to create a custom wordpress plugin, activate it from the administration area and
06 Feb 2016 1 min read
Drupal 7 – Enable a theme from a custom module via code
drupal

Drupal 7 – Enable a theme from a custom module via code

Sometimes you are required to enable a theme programmatically from a module without needing to do it manually all the time, so to do this I have used the hook_init() function to get a list of all the themes in Drupal which contains all the themes info. Then I
31 Jan 2016 1 min read
Page 1 of 1
Simon Facciol © 2025
Powered by Ghost