Search Result for: Development Category

Articles

Credit card testing numbers

Can be used when application or module is in testing mode. Credit Card Type Credit Card Number American Express 378282246310005 American Express 371449635398431 American Express
Read More

Git Revert

Revert the changes specified by the fourth last commit in HEAD and create a new commit with the reverted changes. git revert
Read More

Create a directory

Use the following code to create a directory in
Read More

Remove or delete a file or directory

remove a file $ rm filename.txt remove a directory or folder $ rm -rf folder
Read More

Adminer an alternative to clunky old PhpMyAdmin

Check out Ad-Miner this is the way to go when you quickly and easily want to access you SQL Files.
Read More

Merging a pull request using BitBucket

Used when a developer has pushed some code upstream and wants to merge with yours or the master branch. First, you will be notified that someone has made a pull request. In your
Read More

Making a pull request using BitBucket

This is required if you want to push your code upstream to a master repo. Go to your repo and ‘Create a pull request’ Then make sure you have selected the branch you
Read More

ACF Displaying a select field

To display field valuses use this code $field = get_field_object('field_name'); $value = get_field('field_name'); $label = $field['choices'][ $value
Read More

Push updates

git push origin
Read More