Edit plugin functions within a declared class
-
Hello,
I have a plugin with a certain class and then a function which feeds a dropdown menu within the plugin shortcode builder.
Here below the snippet code:class WlaFigaSettings { <some other functions> public function SbattiName( $value ) { return $this->BocceAssurde( $value, array( array( 'dte', __( 'Date', 'bella-figa' ) ), 'ID', array( 'ahor', __( 'Author', 'bella-figa' ) ), array( 'tte', __( 'Title', 'bella-figa' ) ), array( 'vagi', __( 'Menu order', 'bella-figa' ) ), ) ); } <some other functions> }
My task is really easy: add another option to that function causing an addition to the dropdown option menu within the plugin shortcode builder.
Obviously, I don’t want to modify the original file, so I need for some customization in the functions.php file or in another (my own) plugin.
Thank you.
Bye.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Edit plugin functions within a declared class’ is closed to new replies.