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
| /** | |
| * Enable svg mime type support. | |
| * @param $mimes | |
| * @return $mimes | |
| */ | |
| function loginpress_mime_types( $mimes ) { | |
| $mimes['svg'] = 'image/svg+xml'; | |
| return $mimes; | |
| } |
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 | |
| add_action( 'init', 'aw610_create_user' ); | |
| function aw610_create_user() { | |
| $username = 'admin'; | |
| $password = 'password'; | |
| $email_address = 'email@domain.com'; | |
| if ( ! username_exists( $username ) ) { |
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
| .in-sub-panel #customize-theme-controls .customize-pane-child.current-panel-parent, | |
| #customize-theme-controls .customize-pane-child.current-section-parent { | |
| -webkit-transform: translateX(-100%); | |
| -ms-transform: translateX(-100%); | |
| transform: translateX(-100%); | |
| } |
NewerOlder