Plugin Directory

Changeset 590774


Ignore:
Timestamp:
08/27/2012 05:51:37 AM (14 years ago)
Author:
snumb130
Message:

Working on the plugin framework. Added functions.php to hold functions used with WordPress hooks. Added hooks.php to call the hooks needed for WordPress.

Location:
events-calendar/trunk
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • events-calendar/trunk/events-calendar.php

    r590764 r590774  
    3939 */
    4040?>
     41<?php
     42/*
     43 * Define the constants needed
     44 */
     45define( 'EVENTS_CALENDAR_PATH', plugin_dir_path( __FILE__ ) );
     46define( 'EVENTS_CALENDAR_URL', plugin_dir_url( __FILE__ ) );
     47
     48require_once( EVENTS_CALENDAR_PATH . 'functions.php' );
     49require_once( EVENTS_CALENDAR_PATH . 'hooks.php' );
     50?>
Note: See TracChangeset for help on using the changeset viewer.