Remove Send To Text Editor Buttons From AgentPress Listings Property Details Meta Box

This tutorial provides a simple solution which enables you to use CSS to remove the Send To Text Editor buttons located on the single listings admin screen.

This solution removes the 3 buttons as seen in the above image.

There’s 2 steps :

Step 1 : Add the following PHP code to the end of your child themes functions file :

add_action( 'admin_enqueue_scripts', 'enqueue_admin_style_sheet' );
function enqueue_admin_style_sheet() {

wp_enqueue_style( 'custom-admin-css', get_stylesheet_directory_uri() . '/admin.css', false, '1.0.0' );

}

Step 2 : Create a new file named admin.css in your child themes root directory and add the following CSS rule to the file :

#listing_details_metabox .button {
    display: none;
}

You could also use PHP code to achieve the same result.

Related Solutions

Was This Tutorial Helpful?

Free

$0

Access only to all free tutorials per month.



Monthly

$75

Access to 10 premium tutorials per month.


Tutorial Request


Includes code guarantee and coding support.

Yearly

$500

Access to 15 premium tutorials per month.


Monthly Tutorial Request


Includes code guarantee and priority coding support.