Skip to content

Instantly share code, notes, and snippets.

View codeiscode-dev's full-sized avatar

codeiscode-dev

View GitHub Profile
@codeiscode-dev
codeiscode-dev / creating_your_first_addon.php
Last active January 24, 2018 12:20
Creating your first addon
<?php
class WPEPAddOnExample extends WPEP_AddOn_Integration {
protected static $_instance;
/**
* @return WPEP_AddOn_Integration
*/
public static function instance() {
if( self::$_instance === null )
<?php
$meta_boxes = apply_filters( "wpep_administration_course_metaboxes", $meta_boxes );
$meta_boxes = apply_filters( "wpep_administration_ebook_metaboxes", $meta_boxes );
$meta_boxes = apply_filters( "wpep_administration_video_metaboxes", $meta_boxes );
@codeiscode-dev
codeiscode-dev / wpep_before_template_part.php
Last active January 24, 2018 12:22
wpep_before_template_part
<?php
do_action( 'wpep_before_template_part', $template_name, $template_path, $located, $args );
@codeiscode-dev
codeiscode-dev / wpep_after_template_part.php
Last active January 25, 2018 07:11
wpep_after_template_part
<?php
do_action( 'wpep_after_template_part', $template_name, $template_path, $located, $args );
@codeiscode-dev
codeiscode-dev / wpep_primary_content_before_grid.php
Last active January 25, 2018 07:14
wpep_primary_content_before_grid
<?php
do_action( "wpep_primary_content_before_grid" );
@codeiscode-dev
codeiscode-dev / wpep_primary_content_after_grid.php
Last active January 25, 2018 07:15
wpep_primary_content_after_grid
<?php
do_action( "wpep_primary_content_after_grid" );
@codeiscode-dev
codeiscode-dev / wpep_before_main_content.php
Last active January 25, 2018 07:17
wpep_before_main_content
<?php
do_action( "wpep_before_main_content" );
@codeiscode-dev
codeiscode-dev / wpep_after_main_content.php
Last active January 25, 2018 07:17
wpep_after_main_content
<?php
do_action( "wpep_after_main_content" );
@codeiscode-dev
codeiscode-dev / wpep_primary_content_grid_list.php
Last active January 25, 2018 07:18
wpep_primary_content_grid_list
<?php
do_action( "wpep_primary_content_grid_list" )
@codeiscode-dev
codeiscode-dev / wpep_administration_lesson_option_field.php
Last active January 25, 2018 07:19
wpep_administration_lesson_option_field
<?php
do_action( "wpep_administration_lesson_option_field", $field_prefix, $current_options );