Methods
Parsing WordPress 7.1.0 produced 7,343 class methods, each given its own page rather than being buried inside its class. That matters when you arrive from a search for something like WP_Query::get_posts(): the method is the thing you were looking for, with its own parameters, return value and history.
7,343 methods found in WordPress 7.1.0 · page 1 of 74
- _WP_Dependency::__construct()Setup dependencies.
- _WP_Dependency::add_data()Add handle data.
- _WP_Dependency::set_translations()Sets the translation domain for this dependency.
- _WP_Editors::__construct()
- _WP_Editors::_parse_init()
- _WP_Editors::default_settings()Returns the default TinyMCE settings.
- _WP_Editors::editor()Outputs the HTML for a single instance of the editor.
- _WP_Editors::editor_js()Print (output) the TinyMCE configuration and initialization scripts.
- _WP_Editors::editor_settings()
- _WP_Editors::enqueue_default_editor()Enqueue all editor scripts.
- _WP_Editors::enqueue_scripts()
- _WP_Editors::force_uncompressed_tinymce()Force uncompressed TinyMCE when a custom theme has been defined.
- _WP_Editors::get_baseurl()Returns the TinyMCE base URL.
- _WP_Editors::get_mce_locale()Returns the TinyMCE locale.
- _WP_Editors::get_translation()
- _WP_Editors::parse_settings()Parse default arguments for the editor instance.
- _WP_Editors::print_default_editor_scripts()Print (output) all editor scripts and default settings.
- _WP_Editors::print_tinymce_scripts()Print (output) the main TinyMCE scripts.
- _WP_Editors::wp_fullscreen_html()deprecatedOutputs the HTML for distraction-free writing mode.
- _WP_Editors::wp_link_dialog()Dialog for internal linking.
- _WP_Editors::wp_link_query()Performs post queries for internal linking.
- _WP_Editors::wp_mce_translation()Translates the default TinyMCE strings and returns them as JSON encoded object ready to be loaded with tinymce.addI18n(), or as JS snippet that should run after tinymce.js is loaded.
- _WP_List_Table_Compat::__construct()Constructor.
- _WP_List_Table_Compat::get_column_info()Gets a list of all, hidden, and sortable columns.
- _WP_List_Table_Compat::get_columns()Gets a list of columns.
- AbstractApiBasedModel::__construct()Constructor.
- AbstractApiBasedModel::getConfig(){@inheritDoc}
- AbstractApiBasedModel::getRequestOptions(){@inheritDoc}
- AbstractApiBasedModel::metadata(){@inheritDoc}
- AbstractApiBasedModel::providerMetadata(){@inheritDoc}
- AbstractApiBasedModel::setConfig(){@inheritDoc}
- AbstractApiBasedModel::setRequestOptions(){@inheritDoc}
- AbstractApiBasedModelMetadataDirectory::getBaseCacheKey(){@inheritDoc}
- AbstractApiBasedModelMetadataDirectory::getCachedKeys(){@inheritDoc}
- AbstractApiBasedModelMetadataDirectory::getModelMetadata(){@inheritDoc}
- AbstractApiBasedModelMetadataDirectory::getModelMetadataMap()Returns the map of model ID to model metadata for all models from the provider.
- AbstractApiBasedModelMetadataDirectory::hasModelMetadata(){@inheritDoc}
- AbstractApiBasedModelMetadataDirectory::listModelMetadata(){@inheritDoc}
- AbstractApiBasedModelMetadataDirectory::sendListModelsRequest()Sends the API request to list models from the provider and returns the map of model ID to model metadata.
- AbstractApiProvider::baseUrl()Gets the base URL for the provider's API.
- AbstractApiProvider::url()Constructs a full URL by combining the base URL with an optional path.
- AbstractClientDiscoveryStrategy::createClient()Creates an instance of the HTTP client.
- AbstractClientDiscoveryStrategy::getCandidates(){@inheritDoc}
- AbstractClientDiscoveryStrategy::init()Initializes and registers the discovery strategy.
- AbstractDataTransferObject::convertEmptyArraysToObjects()Recursively converts empty arrays to stdClass objects where the schema expects objects.
- AbstractDataTransferObject::isArrayShape(){@inheritDoc}
- AbstractDataTransferObject::jsonSerialize()Converts the object to a JSON-serializable format.
- AbstractDataTransferObject::validateFromArrayData()Validates that required keys exist in the array data.
- AbstractEnum::__call()Handles dynamic method calls for enum checking.
- AbstractEnum::__callStatic()Handles static method calls for enum creation.
- AbstractEnum::__construct()Constructor is private to ensure instances are created through static methods.
- AbstractEnum::__get()Provides read-only access to properties.
- AbstractEnum::__set()Prevents property modification.
- AbstractEnum::__toString()Returns string representation of the enum.
- AbstractEnum::camelCaseToConstant()Converts camelCase to CONSTANT_CASE.
- AbstractEnum::cases()Gets all enum cases.
- AbstractEnum::determineClassEnumerations()Determines the class enumerations by reflecting on class constants.
- AbstractEnum::equals()Checks if this enum has the same value as the given value.
- AbstractEnum::from()Creates an enum instance from a value, throws exception if invalid.
- AbstractEnum::getConstants()Gets all constants for this enum class.
- AbstractEnum::getInstance()Gets or creates a singleton instance for the given value and name.
- AbstractEnum::getValues()Gets all valid values for this enum.
- AbstractEnum::is()Checks if this enum is the same instance type and value as another enum.
- AbstractEnum::isValidValue()Checks if a value is valid for this enum.
- AbstractEnum::jsonSerialize()Converts the enum to a JSON-serializable format.
- AbstractEnum::tryFrom()Tries to create an enum instance from a value, returns null if invalid.
- AbstractOpenAiCompatibleImageGenerationModel::createRequest()Creates a request object for the provider's API.
- AbstractOpenAiCompatibleImageGenerationModel::generateImageResult(){@inheritDoc}
- AbstractOpenAiCompatibleImageGenerationModel::getResultId()Extracts the result ID from the API response data.
- AbstractOpenAiCompatibleImageGenerationModel::parseResponseChoiceToCandidate()Parses a single choice from the API response into a Candidate object.
- AbstractOpenAiCompatibleImageGenerationModel::parseResponseToGenerativeAiResult()Parses the response from the API endpoint to a generative AI result.
- AbstractOpenAiCompatibleImageGenerationModel::prepareGenerateImageParams()Prepares the given prompt and the model configuration into parameters for the API request.
- AbstractOpenAiCompatibleImageGenerationModel::preparePromptParam()Prepares the prompt parameter for the API request.
- AbstractOpenAiCompatibleImageGenerationModel::prepareSizeParam()Prepares the size parameter for the API request.
- AbstractOpenAiCompatibleImageGenerationModel::throwIfNotSuccessful()Throws an exception if the response is not successful.
- AbstractOpenAiCompatibleModelMetadataDirectory::createRequest()Creates a request object for the provider's API.
- AbstractOpenAiCompatibleModelMetadataDirectory::parseResponseToModelMetadataList()Parses the response from the API endpoint to list models into a list of model metadata objects.
- AbstractOpenAiCompatibleModelMetadataDirectory::sendListModelsRequest(){@inheritDoc}
- AbstractOpenAiCompatibleModelMetadataDirectory::throwIfNotSuccessful()Throws an exception if the response is not successful.
- AbstractOpenAiCompatibleTextGenerationModel::createRequest()Creates a request object for the provider's API.
- AbstractOpenAiCompatibleTextGenerationModel::generateTextResult(){@inheritDoc}
- AbstractOpenAiCompatibleTextGenerationModel::getMessagePartContentData()Returns the OpenAI API specific content data for a message part.
- AbstractOpenAiCompatibleTextGenerationModel::getMessagePartToolCallData()Returns the OpenAI API specific tool calls data for a message part.
- AbstractOpenAiCompatibleTextGenerationModel::getMessageRoleString()Returns the OpenAI API specific role string for the given message role.
- AbstractOpenAiCompatibleTextGenerationModel::parseResponseChoiceMessage()Parses the message from a choice in the API response.
- AbstractOpenAiCompatibleTextGenerationModel::parseResponseChoiceMessageParts()Parses the message parts from a choice in the API response.
- AbstractOpenAiCompatibleTextGenerationModel::parseResponseChoiceMessageToolCallPart()Parses a tool call part from the API response.
- AbstractOpenAiCompatibleTextGenerationModel::parseResponseChoiceToCandidate()Parses a single choice from the API response into a Candidate object.
- AbstractOpenAiCompatibleTextGenerationModel::parseResponseToGenerativeAiResult()Parses the response from the API endpoint to a generative AI result.
- AbstractOpenAiCompatibleTextGenerationModel::prepareGenerateTextParams()Prepares the given prompt and the model configuration into parameters for the API request.
- AbstractOpenAiCompatibleTextGenerationModel::prepareMessagesParam()Prepares the messages parameter for the API request.
- AbstractOpenAiCompatibleTextGenerationModel::prepareOutputModalitiesParam()Prepares the output modalities parameter for the API request.
- AbstractOpenAiCompatibleTextGenerationModel::prepareResponseFormatParam()Prepares the response format parameter for the API request.
- AbstractOpenAiCompatibleTextGenerationModel::prepareToolsParam()Prepares the tools parameter for the API request.
- AbstractOpenAiCompatibleTextGenerationModel::throwIfNotSuccessful()Throws an exception if the response is not successful.
- AbstractOpenAiCompatibleTextGenerationModel::validateOutputModalities()Validates that the given output modalities to ensure that at least one output modality is text.
- AbstractProvider::availability(){@inheritDoc}
- AbstractProvider::createModel()Creates a model instance based on the given model metadata and provider metadata.
- AbstractProvider::createModelMetadataDirectory()Creates the model metadata directory instance.
- AbstractProvider::createProviderAvailability()Creates the provider availability instance.