WP_REST_Global_Styles_Controller::check_update_permission( WP_Post $post ): bool

In this article

Checks if a global style can be edited.

Parameters

$postWP_Postrequired
Post object.

Return

bool Whether the post can be edited.

Source

}

if ( isset( $request['styles'] ) || isset( $request['settings'] ) ) {

Changelog

VersionDescription
5.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.