quicktags_settings

quicktags_settings

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('quicktags_settings') is found 1 times:

  • /wp-includes/class-wp-editor.php line 361
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
         *
         * @param array  $qt_init   Quicktags settings.
         * @param string $editor_id Unique editor identifier, e.g. 'content'.
         */
        $qt_init = apply_filters( 'quicktags_settings', $qt_init, $editor_id );
     
        self::$qt_settings[ $editor_id ] = $qt_init;
     
        self::$qt_buttons = array_merge( self::$qt_buttons, explode( ',', $qt_init['buttons'] ) );
    }

See this hook used in plugins: