Help connecting custom wordpress object
-
I have added a custom object to the wordpress.php file. I used the below method
add_filter( 'object_sync_for_salesforce_add_more_wordpress_types', 'add_more_types', 10, 1 ); function add_more_types( $wordpress_object_types ) { $wordpress_object_types[] = 'foo'; // this will add to the existing types. return $wordpress_object_types; }But my custom object is from another plugin and this particular plugin does not have a meta table created for the particular table i want to pick data from. I need help in connecting the fields from this table without requiring me to enter table meta info in the
public function get_wordpress_table_structure( $object_type ){...}section of the code
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Help connecting custom wordpress object’ is closed to new replies.