Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: site_editor_no_javascript_message

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
166                          /**
167                           * Filters the message displayed in the site editor interface when JavaScript is
168                           * not enabled in the browser.
169                           *
170                           * @since 6.3.0
171                           *
172                           * @param string  $message The message being displayed.
173                           * @param WP_Post $post    The post being edited.
174                           */
175                          echo apply_filters( 'site_editor_no_javascript_message', __( 'The site editor requires JavaScript. Please enable JavaScript in your browser settings.' ), $post );
176                     ?>
177                </p>
178           </div>
179      </div>
180 </div>
181
182 <?php
183
184 require_once ABSPATH . 'wp-admin/admin-footer.php';