This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-disable max-classes-per-file */ | |
declare namespace DaVinciResolve { | |
type Base64Data = string; /** Property of ThumbnailData type but otherwise undocumented */ | |
type FusionComp = unknown; /** Return or argument type for some TimelineItem methods but otherwise undocumented */ | |
type GalleryStill = unknown; /** Return or argument type for GalleryStillAlbum methods but otherwise undocumented */ | |
type TimelineExportAAFSubType = unknown; /** Probably an enum but undocumented, optional argument for Timeline.Export */ | |
type TimelineExportEDLSubType = unknown; /** Probably an enum but undocumented, optional argument for Timeline.Export */ | |
type TimelineExportSubType = TimelineExportAAFSubType | TimelineExportEDLSubType; | |
type TimelineExportType = unknown; /** Probably an enum but undocumented, argument for Timeline.Export */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// As there seems to be no good php hook to remove default wordpress profile fields, | |
// I ended up hiding the fields with CSS then remove them with JS. | |
add_action( 'admin_head', 'remove_default_profile_fields' ); | |
function remove_default_profile_fields() { | |
global $pagenow; |