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 | |
// Download this snippet as a plugin and more at: https://wordbits.io/snippet/testing/ | |
// Created by: Rob Landers | |
?> | |
<?php | |
echo "hello world"; |
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 | |
// Download this snippet as a plugin and more at: https://wordbits.io/snippet/simple-maintenance-mode/ | |
// Created by: jeffmatson | |
?> | |
<?php | |
function wordbits_simple_maintenace_mode() { | |
if ( ! current_user_can( 'manage_options' ) || ! is_user_logged_in() ) { | |
die('Maintenance.'); | |
} |
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 | |
// Download this snippet as a plugin and more at: https://wordbits.io/snippet/automatically-empty-post-page-comment-trash/ | |
// Created by: jeffmatson | |
?> | |
<?php | |
define('EMPTY_TRASH_DAYS', 7 ); |
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 | |
// Download this snippet as a plugin and more at: https://wordbits.io/snippet/increasing-your-php-memory-limit/ | |
// Created by: jeffmatson | |
?> | |
<?php | |
define('WP_MEMORY_LIMIT', '128M'); |
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 | |
// Download this snippet as a plugin and more at: https://wordbits.io/snippet/example-test-snippet/ | |
// Created by: jeffmatson | |
?> | |
<?php | |
dsfdsfdsfsdf |
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 | |
// Download this snippet as a plugin and more at: https://wordbits.localhost/snippet/asdfasdf/ | |
// Created by: jeffmatson | |
?> | |
<?php | |
asdfasdfasdf |
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 | |
// Download this snippet as a plugin and more at: https://wordbits.localhost/snippet/afdsafasdf/ | |
// Created by: jeffmatson | |
?> | |
<?php | |
sadfasdfsdf |
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 | |
// Download this snippet as a plugin and more at: https://wordbits.localhost/snippet/asdfasdf/ | |
// Created by: jeffmatson | |
?> | |
<?php | |
asdfasdf |
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 | |
// Download this snippet as a plugin and more at: https://wordbits.localhost/snippet/asfasdf/ | |
// Created by: jeffmatson | |
?> | |
<?php | |
asdfasdfsadf |
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 | |
// Download this snippet as a plugin and more at: https://wordbits.localhost/snippet/asdfasdf/ | |
// Created by: jeffmatson | |
?> | |
<?php | |
asdfasdf |