jetpack_wpcom_theme_delete, false, $theme

jetpack_wpcom_theme_delete, false, $theme

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('jetpack_wpcom_theme_delete, false, $theme') is found 1 times:

  • /json-endpoints/jetpack/class.jetpack-json-api-themes-delete-endpoint.php line 67
    			 *                                              a WPCom theme.
    			 * @param string $theme_slug                    Theme name (slug). If it is a WPCom theme,
    			 *                                              it should be suffixed with `-wpcom`.
    			 */
    			$result = apply_filters( 'jetpack_wpcom_theme_delete', false, $theme );
    
    			if ( ! $result ) {
    				$result = delete_theme( $theme );
    			}
    
    			if ( is_wp_error( $result ) ) {