Created
August 2, 2012 01:03
-
-
Save FrankM1/3232108 to your computer and use it in GitHub Desktop.
dummy images for wordpress before export
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
function dummy_wp_get_attachment_url( $url, $post_id ){ | |
return 'http://dummy/image/URL'; | |
} | |
add_filter( 'wp_get_attachment_url' , 'dummy_wp_get_attachment_url' , 10 , 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment