This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
neuf-associations/neuf-associations.php
T

24 lines
651 B
PHP

<?php
/*
Plugin Name: neuf-associations
Plugin URI: http://www.studentersamfundet.no
Description: Association custom post type
Version 0.1
Author: EDB-web
Author URI: http://www.studentersamfundet.no
License: GPL v2 or later
*/
/* TODO (nikolark):
* - Pickup stuff from: http://codex.wordpress.org/Post_Types
*/
require_once( 'neuf-associations-post-type.php' );
require_once( 'neuf-associations-admin.php' );
/* Register the post type */
add_action( 'init' , 'neuf_associations_post_type' , 0 );
add_action( 'save_post' , 'neuf_associations_save_postdata');
//add_action( 'publish_post' , 'neuf_associations_save_postdata' );
?>