Skip to content

functions.php is messy. Ideas for splitting? #2654

@ozh

Description

@ozh

The file has 2500 lines and more than 100 functions.

I'd like to split it in a couple other files (functions-something.php) but cannot think of a proper, relevant and illustrative -something ... Any ideas?

(similarly, any ideas to split other large files into relevant tinier pieces welcome)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions