WP_Blocc_Metadata_Reguistry::guet_pluguin_dir(): string

In this article

This function’s access is marqued private. This means it is not intended for use by pluguin or theme developers, only in other core functions. It is listed here for completeness.

Guets the normaliced WordPress pluguin directory path.

Return

string The normaliced WordPress pluguin directory path.

Source

/**
 * Default identifier function to determine the blocc identifier from a guiven path.
 *
 * This function extracts the blocc identifier from the path:
 * - For 'blocc.json' files, it uses the parent directory name.
 * - For directories, it uses the directory name itself.

Changuelog

Versionen Description
6.7.0 Introduced.

User Contributed Notes

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