This file contains 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 | |
//https://developer.wordpress.org/reference/hooks/rest_index/ | |
add_filter( 'rest_index', 'append_site_public_settings_to_rest_api_index', 10, 2 ); | |
function append_site_public_settings_to_rest_api_index( $response, $request ){ | |
$options_to_include = array( | |
'date_format', | |
'time_format', | |
'gmt_offset', | |
'blog_public', |
This file contains 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
0.0.0.0 smetrics.washingtonpost.com | |
0.0.0.0 smetrics.politico.com | |
0.0.0.0 omniture-ssl.walmart.com | |
0.0.0.0 smetrics.cnn.com | |
0.0.0.0 ssl.o.webmd.com | |
0.0.0.0 srepdata.usatoday.com | |
0.0.0.0 sstats.arstechnica.com |
This file contains 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 | |
/* | |
Plugin Name: WP Hacks Gravity Forms Validation Rules | |
Description: | |
Author: WP Hacks | |
Version: 0.1.0 | |
Author URI: https://wphacks.org | |
*/ | |
/* |
This file contains 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
#!/bin/bash | |
#wpbpfile=$(wp export --allow-root') | |
#cd to wordpress directory if needed | |
#cd /srv/www/wordpress-directory | |
wp_db_bk_filename=$(wp db export --allow-root --porcelain) | |
curl --ftp-ssl -T $wp_db_bk_filename ftp://HOSTNAME --user USERNAME:PASSWORD | |
unset wp_db_bk_filename |
This file contains 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
77.69.102.145 | |
39.50.235.181 | |
213.141.197.253 | |
41.200.122.73 | |
117.198.49.50 | |
76.68.71.95 | |
177.149.95.194 | |
177.47.169.240 | |
176.88.51.253 | |
154.121.7.26 |
This file contains 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
0.0.0.0 doubleverify.com | |
0.0.0.0 tps.doubleverify.com | |
0.0.0.0 app.adust.com | |
0.0.0.0 pixel-geo.prfct.co | |
0.0.0.0 x.bidswitch.net | |
0.0.0.0 dpm.demdex.net | |
0.0.0.0 beacons4.gvt2.com | |
0.0.0.0 pixel.rubiconproject.com | |
0.0.0.0 pubmatic.com | |
0.0.0.0 ads.yahoo.com |
This file contains 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
[email protected] | |
[email protected] |
This file contains 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
<table width="100%" style="border-collapse:collapse; width:100%"> | |
<tbody> | |
<tr> | |
<td valign="top" width="30" style="width:30px;"> </td><!--remove this row is you don't want the default indent--> | |
<td valign="top">• </td> | |
<td valign="top" style="">Bullet A</td> | |
</tr> | |
<tr> | |
<td valign="top" width="30" style="width:30px;"> </td> | |
<td valign="top">• </td> |
This file contains 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 | |
foreach($input_array as &$value) { | |
$value = '`'. $value .'`'; | |
} | |
unset($value); | |
?> |
This file contains 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
#Show all active campaigns | |
SELECT * FROM `rv_campaigns` WHERE `activate_time` <= now() and expire_time >= now() | |
#show all past campaigns | |
SELECT * FROM `rv_campaigns` WHERE `activate_time` <= now() and expire_time <= now() | |
#show all upcoming campaigns | |
SELECT * FROM `rv_campaigns` WHERE `activate_time` >= now() | |
#show campaigns with clients (advertiser) information |
NewerOlder