Changes between Version 6 and Version 9 of Ticket #22256
- Timestamp:
- 10/22/2012 08:25:36 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #22256
- Property Cc xoodrew@… added
-
Ticket #22256 – Description
v6 v9 11 11 12 12 {{{ 13 add_action( 'after_setup_theme .twentytwelve', function() {13 add_action( 'after_setup_theme:twentytwelve', function() { 14 14 // do stuff 15 15 } 16 16 17 add_action( 'after_setup_theme .twentytwelve', function() {17 add_action( 'after_setup_theme:twentytwelve', function() { 18 18 // do more stuff 19 19 } 20 20 21 add_filter( 'posts_clauses .p2p', function( $clauses ) {21 add_filter( 'posts_clauses:p2p', function( $clauses ) { 22 22 // do stuff 23 23 } … … 28 28 {{{ 29 29 // remove specific callbacks added by the Twentytwelve theme 30 remove_action( 'after_setup_theme .twentytwelve' );30 remove_action( 'after_setup_theme:twentytwelve' ); 31 31 32 32 // remove all callbacks added by the P2P plugin 33 remove_action( '* .p2p' );33 remove_action( '*:p2p' ); 34 34 }}} 35 35