Use the iworks_upprev_image
action:
<?php add_action( 'iworks_upprev_image' , 'default_image' ); function default_image() { return '<img src="image.png" alt="" />'; } |
Where to put this code?
There are three ways:
- made a one-file-plugin and put file into
wp-content/plugins
, then turn it on - made a one-file-plugin and put file into
wp-content/mu-plugins
- put this code into
functions.php
in current theme
I recommend using option 1 or 2, but 3 is the easiest.
Hi, just wanted to mention, I loved this post. It was funny. Keep on posting!