Changeset 10169 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/wporg-learn.php
- Timestamp:
- 08/13/2020 11:43:14 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/wporg-learn.php
r10155 r10169 30 30 add_action( 'init', array( 'WPORG_Learn\Lesson_Plan', 'lesson_instruction_type_taxonomy' ) ); 31 31 add_action( 'init', 'WPORG_Learn\Taxonomy\register' ); 32 add_filter( 'the_content', array( 'WPORG_Learn\Lesson_Plan', 'replace_image_links' ) );32 add_filter( 'the_content', array( 'WPORG_Learn\Lesson_Plan', 'replace_image_links' ) ); 33 33 34 34 add_action( 'init', 'WPORG_Learn\Blocks\workshop_details_init' ); … … 73 73 } 74 74 75 if ( $post->post_type == 'workshop') {75 if ( 'workshop' === $post->post_type ) { 76 76 return 35; 77 77 } … … 80 80 } 81 81 82 add_action( 'wp_head', function() {82 add_action( 'wp_head', function() { 83 83 ?> 84 84 <style>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)