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 | |
/** | |
* Usage when logged in: http://yourdomain.com/wp-admin/remove-404-attachments=secretpassword | |
*/ | |
# Hook late into admin_init | |
add_action('admin_init', 'remove_404_attachments', 9999999); | |
function remove_404_attachments(){ |
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 | |
namespace Drupal\Core\Config; | |
use Drupal\Core\Config\StorageInterface; | |
class ConfigObject { | |
protected $name = ''; |
NewerOlder