wphooks.info - quicktags_settings

quicktags_settings

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/class-wp-editor.php:
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
			}

			/**
			 * Filters the Quicktags settings.
			 *
			 * @since 3.3.0
			 *
			 * @param array  $qtInit    Quicktags settings.
			 * @param string $editor_id The unique editor ID, e.g. 'content'.
			 */
			$qtInit = apply_filters( 'quicktags_settings', $qtInit, $editor_id );

			self::$qt_settings[ $editor_id ] = $qtInit;

			self::$qt_buttons = array_merge( self::$qt_buttons, explode( ',', $qtInit['buttons'] ) );
		}

		if ( self::$this_tinymce ) {

			if ( empty( self::$first_init ) ) {