git add [filename]
This command updates the index using the current content found in the working tree, to prepare the content staged for the next commit.
Continue“To stage file(if not yet tracked)”
SetContentView (): Set up the app’s user interface. You can consider your object or ID to…
Makes compiler aware that the following method should override a method of the same name from…
Project view has two main paths: App: Here lies the actual source code of the app,…
When creating a project, it is possible to determine whether an eAPP should be backwards compatible.…
git add [filename]
This command updates the index using the current content found in the working tree, to prepare the content staged for the next commit.
Continue“To stage file(if not yet tracked)”
git diff
Show changes between the working tree and the index or a tree, changes between the index and a tree, changes between two trees, changes between two blob objects, or changes between two files on disk.
git status
Displays paths that have differences between the index file and the current HEAD commit, paths that have differences between the working tree and the index file, and paths in the working tree that are not tracked by Git
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