Title: Deuce Creative's Replies | WordPress.org

---

# Deuce Creative

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP eCommerce] PHP 7.2+ With Gold Cart Addon](https://wordpress.org/support/topic/php-7-2-with-gold-cart-addon/)
 *  [Deuce Creative](https://wordpress.org/support/users/deucecreative/)
 * (@deucecreative)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-7-2-with-gold-cart-addon/#post-11391876)
 * I’m keen to know this also – did you find anything out [@andrew1977](https://wordpress.org/support/users/andrew1977/)?
 * Regards,
 * Matt.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Type Archive Descriptions] ptad_description_capability filter should control display of submenu pages](https://wordpress.org/support/topic/ptad_description_capability-filter-should-control-display-of-submenu-pages/)
 *  Thread Starter [Deuce Creative](https://wordpress.org/support/users/deucecreative/)
 * (@deucecreative)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/ptad_description_capability-filter-should-control-display-of-submenu-pages/#post-10592476)
 * Awesome, many thanks Mark!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Product Tabs Lite for WooCommerce] Warning: call_user_func() expects parameter 1 to be a valid callback, no array o](https://wordpress.org/support/topic/warning-call_user_func-expects-parameter-1-to-be-a-valid-callback-no-array-o/)
 *  [Deuce Creative](https://wordpress.org/support/users/deucecreative/)
 * (@deucecreative)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/warning-call_user_func-expects-parameter-1-to-be-a-valid-callback-no-array-o/#post-8155849)
 * For anyone that comes across this post via Google, this might be helpful:
 * [https://docs.woocommerce.com/document/editing-product-data-tabs/#section-6](https://docs.woocommerce.com/document/editing-product-data-tabs/#section-6)
    -  This reply was modified 9 years, 9 months ago by [Deuce Creative](https://wordpress.org/support/users/deucecreative/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[ACF: TablePress] Logged in / Logged out issue](https://wordpress.org/support/topic/logged-in-logged-out-issue/)
 *  [Deuce Creative](https://wordpress.org/support/users/deucecreative/)
 * (@deucecreative)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/logged-in-logged-out-issue/#post-6864095)
 * Just to note that we also happened across this same issue today. Our solution
   was to use the following code snippet in the template to work for both options:
 *     ```
       $tablepress_table = get_field( 'tablepress_table' );
   
       if ( is_numeric( $tablepress_table ) ) {
           $args = array(
               'id' => $tablepress_table
           );
   
           if ( function_exists( 'tablepress_get_table' ) ) {
               $tablepress_table = tablepress_get_table( $args );
           }
       }
   
       echo $tablepress_table;
       ```
   
 * Hope that helps.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP eCommerce] goldcart / sagepay protocol 3](https://wordpress.org/support/topic/goldcart-sagepay-protocol-3/)
 *  [Deuce Creative](https://wordpress.org/support/users/deucecreative/)
 * (@deucecreative)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/goldcart-sagepay-protocol-3/#post-5786397)
 * I would also like to know when this will be available, as I have a client asking
   about it.
 * Many thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Easy Restaurant Menu Manager] [Plugin: Easy Restaurant Menu Manager] Admin Menu not working for Editor Level](https://wordpress.org/support/topic/plugin-easy-restaurant-menu-manager-admin-menu-not-working-for-editor-level/)
 *  [Deuce Creative](https://wordpress.org/support/users/deucecreative/)
 * (@deucecreative)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-easy-restaurant-menu-manager-admin-menu-not-working-for-editor-level/#post-2931311)
 * Hi,
 * We came across this problem and found a better fix (for what I believe is a bug).
 * There is already a WPRMM_CAPABILITY definition setup in easy-restaurant-menu-
   manager.php, which is set to ‘edit_pages’ by default (i.e. the default Editor
   role would include this). This definition is used to check permissions for most
   functions, however it is *not* used in admin/crud-routing.php to check permissions
   for saving and deleting menus (which I believe it should).
 * So, a simple fix for this problem is simply to replace the following line 3:
 * `if(!current_user_can('manage_options') || empty($_POST['wprmm_crud'])) wp_die('
   You do not have permission to modify this object.');`
 * with:
 * `if(!current_user_can(WPRMM_CAPABILITY) || empty($_POST['wprmm_crud'])) wp_die('
   You do not have permission to modify this object.');`
 * This should fix the issue of Editor roles not being able to use the plugin correctly.
 * Regards,
 * Matt.

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