This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// running one time script in wordpress | |
function oneTimeFunction($arguments) | |
{ | |
// One time task goes here | |
} | |
add_action('wp_loaded', function () { | |
if (isset($_GET['unique_argument_xx007']) && $_GET['unique_argument_xx007'] === 'unique_value_xx007') { | |
if (!get_option('random_option_xx007')) { |