wp_print_file_editor_templates example

<?php                     printf(
                        /* translators: %s: Documentation URL. */
                        __( 'You need to make this file writable before you can save your changes. See <a href="%s">Changing File Permissions</a> for more information.' ),
                        __( 'https://wordpress.org/documentation/article/changing-file-permissions/' )
                    );
                    ?> </p> <?php endif; ?> </div> <?php wp_print_file_editor_templates(); ?> </form> <?php endif; // End if $error. ?> <br class="clear" /> </div> <?php $dismissed_pointers = explode( ',', (string) get_user_meta( get_current_user_id(), 'dismissed_wp_pointers', true ) );
if ( ! in_array( 'theme_editor_notice', $dismissed_pointers, true ) ) :
    // Get a back URL.     $referer = wp_get_referer();

    
<p> <?php             printf(
                /* translators: %s: Documentation URL. */
                __( 'You need to make this file writable before you can save your changes. See <a href="%s">Changing File Permissions</a> for more information.' ),
                __( 'https://wordpress.org/documentation/article/changing-file-permissions/' )
            );
            ?> </p> <?php endif; ?> <?php wp_print_file_editor_templates(); ?> </form> <br class="clear" /> </div> <?php $dismissed_pointers = explode( ',', (string) get_user_meta( get_current_user_id(), 'dismissed_wp_pointers', true ) );
if ( ! in_array( 'plugin_editor_notice', $dismissed_pointers, true ) ) :
    // Get a back URL.     $referer = wp_get_referer();

    $excluded_referer_basenames = array( 'plugin-editor.php', 'wp-login.php' );

    
Home | Imprint | This part of the site doesn't use cookies.