git init
This command creates an empty Git repository – basically a .git directory with subdirectories.
git init
This command creates an empty Git repository – basically a .git directory with subdirectories.
/**
* Change the placeholder image
*/
add_filter('woocommerce_placeholder_img_src', 'custom_woocommerce_placeholder_img_src');
function custom_woocommerce_placeholder_img_src( $src ) {
$upload_dir = wp_upload_dir();
$uploads = untrailingslashit( $upload_dir['baseurl'] );
// replace with path to your image
$src = $uploads . '/2012/07/thumb1.jpg';
return $src;
}
When you create a variable, it becomes available for you to use inside the element in…
In software design,think of encapsulation as the principle by wich code and data are bundled together…
Objects are created by instantiating a class, which determines the function of the object.
A usefull tool to run quick PHP code and SQL queries. Debug Bar Console Download