How to Change the WordPress Login Page...
This snippet allows you to easily change the URL of the logo on your WordPress login ...

WPCodeBox
39
This Oxygen condition returns true if the given URL parameter is present.
This can be used, for instance, to add elements that are only visible if your URL includes a special URL parameter, like: https://example.com/?previewnewdesign.
<?php
add_action('plugins_loaded', function () {
if (function_exists('oxygen_vsb_register_condition')) {
global $oxy_condition_operators;
// Condition to check if a URL parameter is present.
oxygen_vsb_register_condition('URL Param Exists', array('options' => array(), 'custom' => true), array('--'), 'oxy_url_param_exists_callback', 'Other');
function oxy_url_param_exists_callback($value, $operator)
{
if ($_GET[$value]) {
return true;
} else {
return false;
}
}
}
});