Created
May 23, 2012 16:41
-
-
Save jeremyfelt/2776277 to your computer and use it in GitHub Desktop.
ACM Filter examples
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'acm_register_provider_slug', 'unisport_register_acm_provider_slug' ); | |
function unisport_register_acm_provider_slug( $current_providers ) { | |
$current_providers->unisport_doubleclick = array( | |
'provider' => 'Unisport_Doubleclick_ACM_Provider', | |
'table' => 'Unisport_Doubleclick_ACM_WP_List_Table' ); | |
return $current_providers; | |
} | |
add_filter( 'acm_provider_slug', 'unisport_set_acm_provider_slug' ); | |
function unisport_set_acm_provider_slug() { | |
return 'unisport_doubleclick'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment