WordPress.org

Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#13698 closed feature request (duplicate)

register_activation_hook for themes too.

Reported by: F J Kaiser Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

Currently you can use the complete Settings API for themes too. No, not the complete. register_activation_hook is only avaible for plugins. Why do we have to use basename plugindirectory there? If this wouldn't be that way, we could use it for ex. default values on theme options too.

Change History (1)

#1 @dd32
11 years ago

  • Milestone Unassigned deleted
  • Resolution set to duplicate
  • Status changed from new to closed

See: #13602

Note: See TracTickets for help on using tickets.