Skip to content

Instantly share code, notes, and snippets.

@codeiscode-dev
Last active January 24, 2018 12:21
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 codeiscode-dev/0addf1938860a78d975c440aa16a604f to your computer and use it in GitHub Desktop.
Save codeiscode-dev/0addf1938860a78d975c440aa16a604f to your computer and use it in GitHub Desktop.
Filters
<?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 );
<?php
apply_filters( 'wpep_frontend_style_file', 'path-to/front/style.css' );
apply_filters( 'wpep_custom_css', 'custom-css' )
apply_filters( 'wpep_color_variation_css', $css );
<?php
apply_filters( 'wpep_user_activity_course_sections', $this->course_map( $course_id, $user_id ) )
apply_filters( 'wpep_primary_content_category_list_html', $resp )
apply_filters('wpep_primary_content_course_list_args', $args )
apply_filters( 'wpep_course_single_content_header_args', $args )
apply_filters( 'wpep_single_content_header_html', $template_content, $args )
apply_filters( 'wpep_course_single_content_form_args', $args )
apply_filters( 'wpep_single_content_form_html', $template_content, $args )
apply_filters( "wpep_course_single_content_lesson_content", $content )
<?php
$located = apply_filters( 'wpep_get_template', $located, $template_name, $args, $template_path, $default_path );
apply_filters( 'wpep_locate_template', $template, $template_name, $template_path );
apply_filters( 'wpep_template_path', 'wpep/' );
<?php
apply_filters( 'wpep_text_view_course', 'Start', $post->ID )
apply_filters( 'wpep_text_view_video', 'Watch Now', $post->ID )
apply_filters( 'wpep_text_download_ebook', 'Download', $post->ID )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment