Home / Hooks / . $editor_id_attr . ); // Prepare the content for the Visual or Text editor, only when TinyMCE is used (back-compat). if ( self::$this_tinymce ) { add_filter( , , 10, 2 ); } /** * Filters the default editor content. * * @since 2.1.0 * * @param string $content Default editor content. * @param string $default_editor The default editor for the current user. * Either or . */ $content = apply_filters( , $content, $default_editor ); // Remove the filter as the next editor on the same page may not need it. if ( self::$this_tinymce ) { remove_filter( , ); } // Back-compat for the `htmledit_pre` and `richedit_pre` filters if ( === $default_editor && has_filter( ) ) { // TODO: needs _deprecated_filter(), use _deprecated_function() as substitute for now _deprecated_function( – filter

Hook name: . $editor_id_attr . );

// Prepare the content for the Visual or Text editor, only when TinyMCE is used (back-compat). if ( self::$this_tinymce ) { add_filter( , , 10, 2 ); }

/** * Filters the default editor content. * * @since 2.1.0 * * @param string $content Default editor content. * @param string $default_editor The default editor for the current user. * Either or . */ $content = apply_filters( , $content, $default_editor );

// Remove the filter as the next editor on the same page may not need it. if ( self::$this_tinymce ) { remove_filter( , ); }

// Back-compat for the `htmledit_pre` and `richedit_pre` filters if ( === $default_editor && has_filter( ) ) { // TODO: needs _deprecated_filter(), use _deprecated_function() as substitute for now _deprecated_function(

Hook type: filter
Plugin ref:
Sourcefile:
File ref:
Description:
Parameters:
Deprecated?: No
API Letters: _,A,I

Invokers

    Implementers

      Related

      Published: 23 October 2017 | Last updated: 23 October 2017

      Information

      Hook name: . $editor_id_attr . ); // Prepare the content for the Visual or Text editor, only when TinyMCE is used (back-compat). if ( self::$this_tinymce ) { add_filter( , , 10, 2 ); } /** * Filters the default editor content. * * @since 2.1.0 * * @param string $content Default editor content. * @param string $default_editor The default editor for the current user. * Either or . */ $content = apply_filters( , $content, $default_editor ); // Remove the filter as the next editor on the same page may not need it. if ( self::$this_tinymce ) { remove_filter( , ); } // Back-compat for the `htmledit_pre` and `richedit_pre` filters if ( === $default_editor && has_filter( ) ) { // TODO: needs _deprecated_filter(), use _deprecated_function() as substitute for now _deprecated_function(
      Hook type: filter
      Plugin ref:
      Sourcefile:
      File ref:
      Description:
      Parameters:
      Deprecated?: No
      API Letters: _,A,I

      • Plugins
      • Themes
      • Blocks
      • Shortcodes
      • APIs
      • Files
      • Hooks
      • Classes
      • Sites
      • Sitemap
      • Blog
      oik-plugins Jetpack a2z
      Jetpack a2z

      Site:  jetpack.wp-a2z.org
      © Copyright oik-plugins 2014-2019. All rights reserved.


      Website designed and developed by Herb Miller
      Proudly powered by WordPress and oik plugins