Skip to content

Instantly share code, notes, and snippets.

View ctuxboy's full-sized avatar

Christophe Hollebeke ctuxboy

View GitHub Profile
@ctuxboy
ctuxboy / basics.php
Created June 10, 2016 18:53 — forked from danielpataki/basics.php
Creating a Plugin
<?php
/**
* Plugin Name: My Facebook Tags
* Plugin URI: http://danielpataki.com
* Description: This plugin adds some Facebook Open Graph tags to our single posts.
* Version: 1.0.0
* Author: Daniel Pataki
* Author URI: http://danielpataki.com
* License: GPL2
*/
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->