Skip to content

Instantly share code, notes, and snippets.

@jgrossi
Created February 22, 2016 16:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jgrossi/e315602781a9adcbdf58 to your computer and use it in GitHub Desktop.
Save jgrossi/e315602781a9adcbdf58 to your computer and use it in GitHub Desktop.
Custom post types and models
<?php
use Corcel\Post as Corcel;
class Service extends Corcel
{
protected $postType = 'service';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment