Methods in 3rd party plugin and theme classes can be called whatever the author wants them to be called. theme_setup()
doesn’t mean anything special, and doesn’t even necessarily mean the same thing in different plugins.
And since it’s not a special method to WordPress, they’re never going to be called automatically by WordPress, so the plugin would be calling them somewhere, you just haven’t found it. If I had to guess, theme_setup()
is a logical name for a method that might be being hooked to after_theme_setup
, but there’s no guarantee.
Related Posts:
- Using OOP in themes
- How can I allow the Editor Role to change Theme Settings?
- How to Link External jQuery/Javascript files with WordPress
- Undefined offset: 0 in > […] /wp-includes/capabilities.php on line 1067
- Editing Links in the Footer of WordPress Themes with Base64 Encrypted Code?
- How to set two different themes on one WordPress? (Desktop vs. Mobile)
- How can I add a set featured image function to a theme that doesn’t already have it built in?
- Jquery in Child Theme
- Display custom_background outside wp_head()
- register_theme_directory and broken deploys
- Retaining old HTML archives and displaying themes conditionally
- switch a theme different per user role
- How to make alert for new version on theme options?
- Can we create a child theme for a premium child theme built on Genesis framework?
- WordPress ignoring specified template for front page. Why?
- Migrating October CMS to WordPress
- Why are my sidebars not registering in unit tests
- Theme editor not showing correct index.php
- How to start learning CSS and theme development?
- How do I make the category template display full posts instead of partial posts?
- Does uninstalling a WordPress theme delete its database values?
- How to set a single theme directory on a multisite blog?
- PHP Parse error: syntax error, unexpected end of file, expecting elseif (T_ELSEIF) or else (T_ELSE) or endif (T_ENDIF) on line 230 [closed]
- Child theme not using parent theme css/styles/formatting?
- Problem after renaming wordpress template file
- What’s the proper way to include inlined javascript-source?
- Create register form without a plugin
- Retina JS not working
- Get WordPress to use another custom “author.php” file (“custom-author-file.php”)
- wp_add_inline_style() not working?
- X-Axis of Site is Messed Up Because it is in Hebrew
- How to create my own sidebar in Twenty Eleven child theme?
- JavaScript Files Registered in Parent Theme Won’t Load When Calling wp_enqueue_script() in Child Theme?
- WP can’t create new directory
- style.css not reflecting changes. I have no cache installed
- Is it possible to create child themes using the WordPress Dashboard?
- Can I use wordpress themes without wordpress?
- Determing number the query ran by core wordpress
- Preserve theme settings when migrating from local to live
- Unable to access wordpress login.php [closed]
- Permissions for installing themes and files in general?
- Twenty Seventeen search error
- Protect shortcodes, custom JS, and CSS from theme updates
- Recommended Media Size for Twenty Fourteen
- for my current theme( own custom ) the default menu options are disabled in wp-admin?
- Most wp_nav_menu parameters ignored
- Free WordPress theme for an intranet tutorial site [closed]
- How do you remove a broken theme from WordPress Admin (without FTP or Cpanel)
- A wordpress site keeps editing wp-content files after migration
- Switching Theme and back will reset the previous Theme’s settings?
- Using Grunt and keeping theme comments
- Why are so many popular responsive WordPress themes “boxed” at 940px? [closed]
- Theme Modified By Updates
- I want to develop a theme using WordPress. Which theme should I start from or develop from scratch? [closed]
- Background image appears on localhost site but not online
- Where did my Theme Editor go?
- Pages and posts on ElegantTheme featured slider [closed]
- Blackberry mobile theme redirection
- Child theme breaks after update of master theme
- Insert the current theme header into an external HTML/XHTML file
- How to use one git (github) repository for version control for multiple themes
- What’s the easiest way of adding more options in the Theme Options of the twenty eleven theme?
- Fix warning: Missing argument
- My first WP development project – am I envisaging this right?
- How can I fetch the next level of the currently selected main menu (hierarchical menu)?
- I’ve got a theme I can’t update and won’t let go
- Make theme settings support multisite enabled (WordPress Mu) site
- Is there any way to modify images from a theme using the web interface?
- Removing basic header/text elements from a theme
- how to get json file in wordpress template
- sidebar in 2020 theme as a widget
- Enqueue All Stylesheets Found In a Theme Folder
- Problem: Fatal error worldpress theme
- Tinymce button is not visible for a theme
- style.css of my custom theme is not being applied at all
- The function is deprecated; use mysql_real_escape_string() instead
- Serve resources from a consistent URL GT Metrix
- WordPress loads old style.css, then loads current one
- 1px black line appearing down right side of thumbnails (theme snaps) [closed]
- Change wordpress theme name (not child theme)
- Full width background slider
- Custom theme being prompted for update because of similarly named theme
- the_content doesn’t return tags
- Revamping a WordPress mirror site – and I don’t know where to start!
- Meta title W3C Validation Error with
- Adding admin-ajax.php to the frontend. Good or bad idea?
- WordPress Form To Email.php and Theme
- How do you make your theme Child Theme-able? [duplicate]
- How to modify/ customise NextGen Gallery’s templates? [closed]
- hardened wordpress linux install
- which theme is this? [closed]
- JQuery Error in theme for .live is not a function [closed]
- How can I either move the nav bar down or create more space for the header? Theme – Ajaira
- To create a theme or use an existing one? [closed]
- Overwrite functions.php of a theme – What if the theme is updated?
- How to add/edit content Custom Content item in theme
- Is there a WordPress theme for twittstrap? [closed]
- Get header/footer list for a theme
- Fatal error Class-wp-hook, again, but not sure what’s triggering it
- How to remove pop up on website (css changes not visible)?