Title: codex73's Replies | WordPress.org

---

# codex73

  [  ](https://wordpress.org/support/users/codex73/)

 *   [Profile](https://wordpress.org/support/users/codex73/)
 *   [Topics Started](https://wordpress.org/support/users/codex73/topics/)
 *   [Replies Created](https://wordpress.org/support/users/codex73/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/codex73/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/codex73/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/codex73/engagements/)
 *   [Favorites](https://wordpress.org/support/users/codex73/favorites/)

 Search replies:

## Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Disqus Comment System] comment replies do not appear on site](https://wordpress.org/support/topic/comment-replies-do-not-appear-on-site/)
 *  [codex73](https://wordpress.org/support/users/codex73/)
 * (@codex73)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/comment-replies-do-not-appear-on-site/#post-4855015)
 * did you solve this problem? what was the issue?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP About Author] Author Box appearing on Custom Post Types](https://wordpress.org/support/topic/author-box-appearing-on-custom-post-types/)
 *  [codex73](https://wordpress.org/support/users/codex73/)
 * (@codex73)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/author-box-appearing-on-custom-post-types/#post-3420527)
 * This is what I did to solve the problem so it doesn’t on some Custom Types:
 * I wrapped this line:
 *     ```
       return apply_filters( 'wp_about_author_display', $return_content );
       ```
   
 * Grab the ID of the post, check the post type against the array of post types 
   I don’t want to include the Author Box, then return the filters if passes check:
 *     ```
       $postid = get_the_ID();
       $my_custom_types = array("one-custom-type-name","products");
       if (!in_array(get_post_type($postid), $my_custom_types)){
           return apply_filters( 'wp_about_author_display', $return_content );
       }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Post Type UI] All pages display index.php instead of page content](https://wordpress.org/support/topic/all-pages-display-indexphp-instead-of-page-content/)
 *  [codex73](https://wordpress.org/support/users/codex73/)
 * (@codex73)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/all-pages-display-indexphp-instead-of-page-content/#post-3605765)
 * Thanks for sharing this tip lord_dev
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Gallery option Available / Missing from Product](https://wordpress.org/support/topic/gallery-option-available-missing-from-product/)
 *  Thread Starter [codex73](https://wordpress.org/support/users/codex73/)
 * (@codex73)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/gallery-option-available-missing-from-product/#post-3469115)
 * Thanks so much for your help 😉
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Theme My Login] [Plugin: Theme My Login] call_user_func_array Error](https://wordpress.org/support/topic/plugin-theme-my-login-call_user_func_array-error/)
 *  [codex73](https://wordpress.org/support/users/codex73/)
 * (@codex73)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-theme-my-login-call_user_func_array-error/#post-2545923)
 * Hey Guys, sorry I wasn’t referring to Jeff’s plugin with my comment, but to my
   own plugin. I looked to the repo, but it has lots of files to go through. [@ctruelson](https://wordpress.org/support/users/ctruelson/)
   If you leave only this plugin enabled and disable the others, will it still break?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Theme My Login] [Plugin: Theme My Login] call_user_func_array Error](https://wordpress.org/support/topic/plugin-theme-my-login-call_user_func_array-error/)
 *  [codex73](https://wordpress.org/support/users/codex73/)
 * (@codex73)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-theme-my-login-call_user_func_array-error/#post-2545919)
 * Found this good article. [Writing a WordPress Plugin Using Classes](http://w3prodigy.com/web-production/behind-wordpress/php-classes-wordpress-plugin/)
 * Haven’t tried the code, but it looks good.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Theme My Login] [Plugin: Theme My Login] call_user_func_array Error](https://wordpress.org/support/topic/plugin-theme-my-login-call_user_func_array-error/)
 *  [codex73](https://wordpress.org/support/users/codex73/)
 * (@codex73)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-theme-my-login-call_user_func_array-error/#post-2545918)
 * Jeff, After searching for a solution, I stumbled on your comment “improperly 
   passing an array”. Well, that was it!
 * I going through some old tutorial where it’s using a class and referencing the
   hook like this:
 * `
    add_action('admin_menu', array(&$objectname,'pluginname_admin_actions'), 1);
 * I’ve broken the class into inline procedural functions and passed only a string
   and it works great.
 * How could I use a class instead?
 * Any particular way to reference the function?
 * I tried `$objectname->functionaname()`
 * but no good…. 🙁

Viewing 7 replies - 1 through 7 (of 7 total)