by Mitchell | Jan 16, 2021 | Quick Tips, Uncategorized
This is quite useful when you have several JavaScript functions which requires to define url (e.g. ajax calls). Rather than hardcoding link inside each function we can specify one variable. In this way, it can be used in different functions. Creating the function...
by Mitchell | Dec 18, 2020 | Uncategorized
Sometimes when i’m developing a membership site i need to test assigning a post author if the code was not right the first time its good to be able to remove the author rather than having to start a new test. <?php $arg = array( ‘ID’ => 8378,...
by Mitchell | Dec 8, 2020 | Uncategorized
Need to loop through all ACF fields in a group? So basicly grab the group id from the backed the acf_get fields function will grab all children of the group then loop through and do what you want with it next up figguring out how to do this for a targeted post (not...
by Mitchell | Nov 20, 2020 | Uncategorized
There is no denying filters in WordPress are amazing but for me the syntax always seems backwards (im not saying its wrong just how my mind reads it), so i thought i would write an article to make it clear (for me anyway). apply_filters() Adds a event in the php...
by Mitchell | Jun 19, 2020 | Uncategorized
Gravity...
Recent Comments