Make WordPress Core

Changeset 32928


Ignore:
Timestamp:
06/24/2015 01:31:11 PM (11 years ago)
Author:
SergeyBiryukov
Message:

Add editor_stylesheets filter to get_editor_stylesheets().

props danielbachhuber, MikeHansenMe.
fixes #31672.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/theme.php

    r32744 r32928  
    15001500                }
    15011501        }
    1502         return $stylesheets;
     1502        /**
     1503         * Filter the array of stylesheets applied to the editor.
     1504         *
     1505         * @since 4.3.0
     1506         *
     1507         * @param array $stylesheets Array of stylesheets to be applied to the editor.
     1508         */
     1509        return apply_filters( 'editor_stylesheets', $stylesheets );
    15031510}
    15041511
Note: See TracChangeset for help on using the changeset viewer.